-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Gizmos broke on WASM #14696
Comments
Is this new in 0.14.1? Can you reproduce on |
Don't have a quick enough way to test on main due to countless migration steps It does reproduce on |
Ah, I wasn't asking you to port your app: just try one of the gizmo examples by cloning the repo :) These are basically always universal bugs with weird hardware / driver specific edges. |
I ran into this on WASM build when run in the browser (Chrome 127, Windows), using
|
Ah, yeah. I forgot to mention I'm also running a WASM build. This is probably more an issue with WASM than Metal, on second thought. |
For me, if I comment some... gizmos.sphere(position, Quat::default(), 0.1, color); ...calls then the issue stops occurring (at the same time, various |
It's triggered the second I add a call to any gizmo. (I don't have any spheres, I only use 2d rects/lines). If I disable gizmos (easily done in my app), I don't get this panic. The panic triggers the first time you render any gizmo for me. |
I can repeat this on both |
Could someone do a minimal reproducer? I am not seeing this behavior in any of the deployed wasm examples that utilize gizmos. m1 max / macOS 14.5 / chrome 127 |
FWIW:
Tested on two systems:
|
Oh, okay, geat. I can reproduce with webgpu too. |
It seems gizmo joints in WebGPU are still broken on main. #14653 fixed lines but not joints.
|
# Objective - Gizmo rendering on WebGPU has been fixed by #14653, but gizmo joints still cause error (#14696 (comment)) when enabled. ## Solution - Applies the same fix as #14653 to Gizmo joints. I'm noob and just copied their solution, please correct me if I did something wrong. ## Testing - Tested 2d-gizmos and 3d-gizmos examples in WebGPU on Chrome. No rendering errors, and the gizmo joints are apparently rendered ok.
Closing as fixed by #14721, but please correct me if this is not the case. |
# Objective - Gizmo rendering on WebGPU has been fixed by #14653, but gizmo joints still cause error (#14696 (comment)) when enabled. ## Solution - Applies the same fix as #14653 to Gizmo joints. I'm noob and just copied their solution, please correct me if I did something wrong. ## Testing - Tested 2d-gizmos and 3d-gizmos examples in WebGPU on Chrome. No rendering errors, and the gizmo joints are apparently rendered ok.
Bevy version
0.14.1
I have
bevy_gizmos
enabled. TheGizmoPlugin
was added.[Optional] Relevant system information
MacOS, but running my app on WASM Chromium.
The text was updated successfully, but these errors were encountered: