DigitalExtinction / Game

A 3D RTS game implemented in Rust.
https://de-game.org
GNU Affero General Public License v3.0
307 stars 24 forks source link

Upgrade to Bevy v0.12 #775

Closed Indy2222 closed 7 months ago

Indy2222 commented 10 months ago
Indy2222 commented 7 months ago

TODO:

Indy2222 commented 7 months ago
2024-02-20T10:34:58.468517Z ERROR bevy_render::render_resource::pipeline_cache: failed to process shader:
error: failed to build a valid final module: Entry point fragment at Fragment is invalid
   ┌─ shaders/terrain.wgsl:47:1
   │
47 │ var<uniform> circles: KdTree;
   │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ naga::GlobalVariable [26]
   │
   = Bindings for [26] conflict with other resource

2024-02-20T10:34:58.471196Z  INFO de_controller::hud::minimap::nodes: Creating new minimap image with resolution UVec2(128, 128)
2024-02-20T10:34:58.471989Z  INFO de_pathing::fplugin: Spawning path finder update task
2024-02-20T10:34:58.487695Z  INFO de_controller::hud::minimap::nodes: Creating new minimap image with resolution UVec2(369, 738)
2024-02-20T10:34:58.487704Z  INFO de_pathing::fplugin: Inserting updated path finder
2024-02-20T10:34:58.567776Z ERROR bevy_render::render_resource::pipeline_cache: failed to process shader:
error: invalid field accessor `model`
   ┌─ shaders/bar.wgsl:30:168
   │
30 │     out.clip_position = bevy_pbr::mesh_functions::mesh_position_local_to_clip(bevy_pbr::mesh_bindings::mesh.model, vec4<f32>(0., 0., 0., 1.0));
   │                                                                                                                                                                        ^^^^^ invalid accessor
   │
   = invalid field accessor `model`