Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I think the compiler can’t do anything since the despawn function queue the entity to be removed (supposedly when it’s safe to do so.. ), I just saw the the panic message you get it doesn’t seems to be like a « literal » null pointer exception because the engine doesn’t try to access an undefined area in memory or something like that. I do agree with you it is an un-Rust-y behavior. I found several issues talking about it on GitHub (https://github.com/bevyengine/bevy/issues/3757) but for now it seems that you have to manage this « manually »…
Related posts
- I (Alice🌹) made an Github Sponsors page to support my work on Bevy! I do mad science, write docs, herd cats and merge PRs! AMA?
- If you implement an ECS-like architecture in Godot, is there any advantage to the System part?
- Unity patents "Methods and apparatuses to improve [..] an Entity Component System (ECS)"
- Voronoi, Manhattan, random
- Trying to write a game with mods loaded at runtime