Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown type: 'MeshOutput' when running 3d_iso example #448

Closed
divark opened this issue Jul 23, 2023 · 0 comments · Fixed by #449
Closed

unknown type: 'MeshOutput' when running 3d_iso example #448

divark opened this issue Jul 23, 2023 · 0 comments · Fixed by #449

Comments

@divark
Copy link
Contributor

divark commented Jul 23, 2023

When running with version v0.11.0 of this library, running cargo run --example 3d_iso yields the following on my Fedora desktop:

[divark@linuxside bevy_ecs_tilemap]$ cargo run --example 3d_iso
    Finished dev [unoptimized + debuginfo] target(s) in 0.07s
     Running `target/debug/examples/3d_iso`
2023-07-23T19:23:02.134623Z  INFO bevy_winit::system: Creating new window "3D Isometric Example" (0v0)
2023-07-23T19:23:02.134768Z  INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1    
2023-07-23T19:23:02.213913Z  INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon RX 6900 XT (RADV NAVI21)", vendor: 4098, device: 29631, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 23.1.3", backend: Vulkan }
2023-07-23T19:23:02.311665Z  INFO 3d_iso::helpers::tiled: Loaded map: iso_map.tmx
2023-07-23T19:23:02.312017Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux 38 Fedora Linux", kernel: "6.3.12-200.fc38.x86_64", cpu: "AMD Ryzen 9 5900X 12-Core Processor", core_count: "12", memory: "31.2 GiB" }
2023-07-23T19:23:02.426342Z  INFO 3d_iso::helpers::tiled: Map added!
2023-07-23T19:23:02.456405Z ERROR bevy_render::render_resource::pipeline_cache: failed to process shader:
error: unknown type: 'MeshOutput'
   ┌─ src/render/shaders/diamond_iso.wgsl:12:58
   │
12 │ fn get_mesh(v_index: u32, vertex_position: vec3<f32>) -> MeshOutput {
   │                                                          ^^^^^^^^^^ unknown type
   │
   = unknown type: 'MeshOutput'


2023-07-23T19:23:16.751817Z  INFO bevy_window::system: No windows are open, exiting
2023-07-23T19:23:16.752345Z  INFO bevy_winit::system: Closing window 0v0

with the state of the application just being a grey background:
grey_screen

I also have the same issue when trying this out on my M2 MacBook Air.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant