Viewport::default()
produces a viewport that always crashes
#14355
Labels
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
Bevy version
0.11
What you did
Set
Camera.viewport
toSome(Viewport::default())
.(I use
ReflectDefault
to create values in an editor, so this can't be easily worked around except by remembering not to click the wrong button)What went wrong
An invalid viewport is returned which promptly causes a wgpu validation error:
The text was updated successfully, but these errors were encountered: