Description
Bevy version
0.16
What you did
From my testing, it doesn't seem like MapEntities
is being called for components as it used to.
I maintain the moonshine-save library, and this specific test is failing for me:
https://github.com/Zeenobit/moonshine_save/blob/bevy-0.16/tests/basic.rs
What went wrong
After some debugging, I realized MapEntities
is not being called at all. Looking at this CL:
3c8fae2#diff-717fbf581c75ed1fc65c9755af2bf8a2ddc97c02e89f4044f86efa70a2ea4260L110
(see dynamic_scene.rs, write_to_world_with
)
It looks like this functionality was removed in favor of relations:
bevy/crates/bevy_scene/src/dynamic_scene.rs
Line 107 in 3c8fae2
To me, it seems like the check for map entities is just missing. I don't see why we would support it for resources (further below in the function) and not for components.
But I wanted to check before opening a PR!