WindowResized events don't trigger #15268
Labels
A-Windowing
Platform-agnostic interface layer to run your app in
C-Bug
An unexpected or incorrect behavior
S-Needs-Investigation
This issue requires detective work to figure out what's going wrong
Bevy version
0.14.2
Relevant system information
Windows 10
AdapterInfo { name: "NVIDIA GeForce RTX 3060 Laptop GPU", vendor: 4318, device: 9568, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "561.09", backend: Vulkan }
What I did
I was trying to make my own renderer with wgpu, and needed to resize the surface of the window so I decided to use the
WindowResized
event, however this event apparently does not trigger, causing the app to crash, because the surface isn't the same size as the window.What went wrong
I was expecting the resize events to be triggered, and (seemingly) every other event does work, just not window resized.
Additional information
I recreated the bug with minimal code in a new bevy project, the code is below. As I said before it seems that all other events do trigger, just not the window resized event, however I haven't tested this exhaustively.
The text was updated successfully, but these errors were encountered: