Skip to content

Intermittent panic in Alien Cake Addict example #1704

Closed

Description

@rparrett

Bevy version

Found this while testing #1703, but it turned out to maybe be an existing system order ambiguity thing.

dd4a196
7b64840 (#1703)

Operating system & version

macOS

What you did

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

  1. added
    C-BugAn unexpected or incorrect behavior
    I-CrashA sudden unexpected crash
    C-ExamplesAn addition or correction to our examples
    on Mar 20, 2021
  2. rparrett commented on Mar 20, 2021

    @rparrett
    ContributorAuthor

    Oops, that's the same stack trace twice. One moment.

  3. rparrett commented on Mar 20, 2021

    @rparrett
    ContributorAuthor

    Fix incoming

  4. rparrett commented on Mar 20, 2021

    @rparrett
    ContributorAuthor

    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)

  5. added a commit that references this issue on Mar 20, 2021
    3da9ad3
  6. alice-i-cecile commented on Mar 20, 2021

    @alice-i-cecile
    Member

    Added to the milestone due to frustrating intermittent crash that seems to be a regression.

  7. added this to the Bevy 0.5 milestone on Mar 20, 2021
  8. added a commit that references this issue on Mar 22, 2021
    3dc7b68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesI-CrashA sudden unexpected crash

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions