-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Pipelined Rendering: App crashes when there is no camera #3043
Copy link
Copy link
Closed
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior
Milestone
Description
Crashes with the following:
Oct 28 16:01:38.927 ERROR present_frames: wgpu_core::present: No work has been submitted for this frame
Oct 28 16:01:38.932 ERROR present_frames: wgpu_core::present: No work has been submitted for this frame
thread 'main' panicked at 'Failed to acquire next swap chain texture!: Timeout', pipelined/bevy_render2/src/view/window.rs:151:24
We should choose one of the following behaviors:
- Don't call "present" when there is nothing to draw for a camera
- Run a "clear color" pass anyway.
We should also print an error (once) when a camera is missing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior