Reloads a level (basically changing a level to itself)
Starts a playtest
Restarts a playtest
Finishes a playtest
In all these cases, Yoleck replaces all the entities under its control and creates new ones, but the new ones will only start loading their assets on the next frame, when the Yoleck components are registered and the populate systems run.
This will probably get fixed in Bevy 0.12 with Bevy Asset V2, but until then I'd like Yoleck to have a workaround.
There is a bug with Bevy's assets loader (https://github.com/bevyengine/bevy/issues/9337) That gets triggered when Yoleck:
In all these cases, Yoleck replaces all the entities under its control and creates new ones, but the new ones will only start loading their assets on the next frame, when the Yoleck components are registered and the populate systems run.
This will probably get fixed in Bevy 0.12 with Bevy Asset V2, but until then I'd like Yoleck to have a workaround.