Test should pass ok because the asset was preloaded
As far as I debugged, this is happening because of a race condition on the flame children API (this is also affecting the FlameBlocProvider
as it has a similar API), the children there are added to the game on the component constructor, and their children onLoad
happens before the game onLoad method has finished.
Unfortunately I can't link the source code where I can consistently reproduce this, but I will link an example when possible.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too