You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Intermittent panic in Alien Cake Addict example #1704
cargo run --example alien_cake_addict and wait. If cake appears, restart and try again.
What actually happened
thread 'Compute Task Pool (5)' panicked at 'called `Result::unwrap()` on an `Err` value: NoSuchEntity', examples/game/alien_cake_addict.rs:333:61
stack backtrace:
0: rust_begin_unwind
at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panicking.rs:493:5
1: core::panicking::panic_fmt
at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/panicking.rs:92:14
2: core::option::expect_none_failed
at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/option.rs:1268:5
3: core::result::Result<T,E>::unwrap
at /Users/robparrett/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:973:23
4: alien_cake_addict::rotate_bonus
at ./examples/game/alien_cake_addict.rs:333:34
Activity
rparrett commentedon Mar 20, 2021
Oops, that's the same stack trace twice. One moment.
rparrett commentedon Mar 20, 2021
Fix incoming
rparrett commentedon Mar 20, 2021
There are two separate panics going on here. I'll open another issue for the other one later. (Also a separate third bonus panic from the PBR merge)
Fix bevyengine#1704
alice-i-cecile commentedon Mar 20, 2021
Added to the milestone due to frustrating intermittent crash that seems to be a regression.
Fix #1704 (#1705)