Open recatek opened 1 month ago
Could you try with synchronous_pipeline_compilation
enabled?
If that fixes the issue but is unacceptable, you can check the status of pipelines in the pipeline cache and use that to create a loading state. https://github.com/rparrett/bevy_pipelines_ready is a simple implementation of that pattern.
Bevy version
v0.14.1
What you did
Called gizmos.circle_2d and auto-captured screenshots for every frame for debugging a timing issue.
What went wrong
The circle_2d command (and potentially others, I only tried the one) did not draw for the first few frames I requested it. It looks like there is some sort of async initialization delay. If you warm start the gizmo by drawing an invisible circle_2d in a zero-alpha color immediately upon running, before requesting a circle in earnest, this problem seems to go away.
Without gizmo warm start:
With gizmo warm start: