-
-
Couldn't load subscription status.
- Fork 4.2k
Closed
Labels
A-GizmosVisual editor and debug gizmosVisual editor and debug gizmosC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesAn addition or correction to our examplesD-ShadersThis code uses GPU shader languagesThis code uses GPU shader languagesD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!
Description
Bevy version
0.14.0-rc.2 (commit 3bfc427)
[Optional] Relevant system information
AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
What you did
cargo run --example 3d_gizmos
hit "p" to change line perspective
What went wrong
2024-06-08T15:46:23.279131Z ERROR bevy_render::render_resource::pipeline_cache: failed to process shader:
error: invalid field accessor `inverse_clip_from_world`
┌─ crates/bevy_gizmos/src/lines.wgsl:77:27
│
77 │ let position_a = view.inverse_clip_from_world * clip_a;
│ ^^^^^^^^^^^^^^^^^^^^^^^ invalid accessor
│
= invalid field accessor `inverse_clip_from_world`
2024-06-08T15:46:23.279235Z ERROR bevy_render::render_resource::pipeline_cache: failed to process shader:
error: invalid field accessor `inverse_clip_from_world`
┌─ crates/bevy_gizmos/src/lines.wgsl:77:27
│
77 │ let position_a = view.inverse_clip_from_world * clip_a;
│ ^^^^^^^^^^^^^^^^^^^^^^^ invalid accessor
│
= invalid field accessor `inverse_clip_from_world`
Metadata
Metadata
Assignees
Labels
A-GizmosVisual editor and debug gizmosVisual editor and debug gizmosC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesAn addition or correction to our examplesD-ShadersThis code uses GPU shader languagesThis code uses GPU shader languagesD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!