bevy: Segmentation fault when running 2d_gizmos example
Bevy version
lastest main(caa662272ce).
[Optional] Relevant system information
AdapterInfo { name: “Apple M1”, vendor: 0, device: 0, device_type: IntegratedGpu, driver: “”, driver_info: “”, backend: Metal }
SystemInfo { os: "MacOS 13.0 ", kernel: “22.1.0”, cpu: “Apple M1”, core_count: “8”, memory: “16.0 GiB” }
What you did
cargo run --example 2d_gizmos
What went wrong
segmentation fault
P.S. 3d_gizmos
example works fine.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 18 (16 by maintainers)
Commits related to this issue
- Avoid spawning gizmo meshes when no gizmos are being drawn (#8180) # Objective Avoid queuing empty meshes for rendering. Should prevent #8144 from triggering when no gizmos are in use. Not a real fi... — committed to bevyengine/bevy by irate-devil a year ago
- Fix segfault with 2d gizmos (#8223) # Objective - Don't segfault with gizmos in 2d - Fixes #8144, Fixes #8211 ## Solution - Don't use depth in 2d — committed to Sjael/bevy by mockersf a year ago
I was able to fix the issue for me with #8223
I think issue this can now be closed.
EDIT: Nvm, I see there’s another issue beside the HDR specialization.