Open blechdavier opened 6 months ago
I'm new to issues so this was probably very poorly written, lmk how I can make it better
Maybe it's same than #521
I had a similar issue. To diagnose my issue, I configured the LogPlugin on DefaultPlugins to display warn-level logs for wgpu_core and wgp_hal
.set(LogPlugin {
filter: "warn,wgpu_core=warn,wgpu_hal=warn".into(),
..default()
})
This gave me these warnings:
WARN wgpu_hal::vulkan::instance: InstanceFlags::VALIDATION requested, but unable to find layer: VK_LAYER_KHRONOS_validation
WARN wgpu_hal::vulkan::instance: GENERAL [Loader Message (0x0)]
windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
WARN wgpu_hal::vulkan::instance: objects: (type: INSTANCE, hndl: 0x1de421cdd00, name: ?)
WARN wgpu_hal::dx12::shader_compilation::dxc: Failed to load dxil.dll. Defaulting to FXC instead: Failed to load library "dxil.dll": LoadLibraryExW { source: Os { code: 126, kind: Uncategorized, message: "The specified module could not be found." } }
I'm really not sure what all of this means, but it pointed me in the direction of trying a different backend. When I set WGPU_BACKEND=dx12
, it seems to have fixed the issue.
Description: Nothing is rendered on my Windows machine when I run any example in the bevy_ecs_tilemap repo. A screenshot of the basic example. This is the same for all other examples I tried.
Logs:
Cloning the bevy repo and running the sprite example works.
Info: Windows 10 22H2 Build 19045.4291 Graphics Driver 31.0.101.5186