Open
Description
Bevy version
master branch
`SystemInfo { os: "Windows 11 Pro", kernel: "22631", cpu: "Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz", core_count: "6", memory: "15.9 GiB" }`
`AdapterInfo { name: "NVIDIA GeForce GTX 1650", vendor: 4318, device: 8066, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "566.03", backend: Vulkan }`
What you did
added
dbg!(&primary_window)
in bevy_render wgpu context initialization code
What went wrong
it seems to always be None for me.
It should be some surface, for wgpu to make sure that the surface is compatible with the selected wgpu adapter (physical device)
Additional information
it could be that the primary window is not initialized yet somehow?
Maybe system ordering problem as the same system would give a valid surface if ran at Startup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment