Skip to content

Fix panic on Android Quest Headset suspend event#23683

Merged
alice-i-cecile merged 1 commit intobevyengine:mainfrom
chamaloriz:fix-quest-vr-suspend-panic
Apr 7, 2026
Merged

Fix panic on Android Quest Headset suspend event#23683
alice-i-cecile merged 1 commit intobevyengine:mainfrom
chamaloriz:fix-quest-vr-suspend-panic

Conversation

@chamaloriz
Copy link
Copy Markdown
Contributor

When Android sends a suspend event like leaving the Guardian boundary on the Quest headset, the .unwrap() panics with NoEntities, crashing the app.

@MalekiRe
Copy link
Copy Markdown
Contributor

MalekiRe commented Apr 6, 2026

I'll test this today on my headset

@alice-i-cecile alice-i-cecile added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen A-Windowing Platform-agnostic interface layer to run your app in P-Crash A sudden unexpected crash O-Android Specific to the Android mobile operating system O-XR Specific to virtual and augmented reality platforms D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Testing Testing must be done before this is safe to merge labels Apr 6, 2026
@github-project-automation github-project-automation bot moved this to Needs SME Triage in Rendering Apr 6, 2026
@alice-i-cecile alice-i-cecile added D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Testing Testing must be done before this is safe to merge labels Apr 6, 2026
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Apr 7, 2026
Merged via the queue into bevyengine:main with commit cf2d04c Apr 7, 2026
59 checks passed
@github-project-automation github-project-automation bot moved this from Needs SME Triage to Done in Rendering Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior D-Trivial Nice and easy! A great choice to get started with Bevy O-Android Specific to the Android mobile operating system O-XR Specific to virtual and augmented reality platforms P-Crash A sudden unexpected crash S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants