ITADN

`contact_shadows` example crashes when switching many times between lights

#25132Openkfc35 创建于 2026-07-23
C-BugA-RenderingS-Needs-Investigation
K
kfc35commented
## Bevy version and features main 742979efb0f3d88a48ba7e2b2a175669a7850c61 ## \[Optional\] Relevant system information Mac / Metal ## What you did Ran the example `cargo run --example contact_shadows --features=“bluenoise_texture”` Cycle between light types for multiple cycles (I can do about 10-15 clicks in total before something happens) ## What went wrong Errors with "Binning main entity MainEntity(451v0) when it was already binned. This should never happen.” The example also becomes corrupted visually. Sometimes the example just freezes and it takes a while for it to crash. There were also times it reported some type of adding overflow but I couldn’t reproduce when running with the `debug` feature. ## Additional information It might be related to https://github.com/bevyengine/bevy/pull/24984 where pcss also had a similar issue toggling between light types. Also touches binning logic.
0 条评论