There was a message limit, so I send a link: https://stackoverflow.com/q/78369979/2926992
#Trying to render a checkerboard
5 messages · Page 1 of 1 (latest)
Maybe the camera Z position is too low? Maybe you need lights? Not an expert on this method, I've done something similar but using sprites
Thought about the Z-pos but modifying it did not help.
I don't think it's about the lighting or something like that as the sample is not very far from the official sample here: https://bevyengine.org/examples/2D Rendering/2d-shapes/
...which does not try to do anything about lighting at all.
Now that I think about it, I think it might be about the order of systems. As Bevy runs in parallel, the order of systems are not guaranteed. Let me try that.
Nope, app.add_systems(Startup, init_grids.after(paint_grids)); does not work either. Still, though, I think Camera2dBundle might initialize after GridPlugin. Gotta find a way to sequence "first CorePlugin then GridPlugin".