Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.11f1
Issue ID
UUM-45226
Regression
No
[Quest 2] Player freezes when built with the OculusXR plugin with a specific project
Reproduction steps:
1. Open the attached project "ReproProject"
2. Go to Edit > Build Settings > Player Settings
3. Switch to Vulkan Graphics API
4. Build and run on an Oculus Quest 2 device
5. Play for about 2 minutes
Expected result: The player continues to run
Actual result: The player freezes
Reproducible with: 3.2.3-pre.1 (2021.3.11f1)
Could not test with: 2020.3.45f1, 2021.3.18f1, 2022.2.5f1, 2023.2.0a1 (com.unity.2d.common@9.0.0-pre.2\Runtime\InternalBridge\IAnimationPreviewable.cs(5,39): error CS0246: The type or namespace name 'IAnimationPreviewable' could not be found)
Reproducible with devices:
VLNQA00379, Oculus (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650
Reproducible on: Windows 10 Enterprise 21H2
Notes:
- Reproduces on OpenGLES 3, but takes from about 2 minutes to 1 hour to freeze than with Vulkan and might be a different cause, but should be investigated
- The cause is most likely the OculusXR plugin since the issue does not reproduce with OpenXR
- Android LogCat before the freeze with OpenGLES 3: {{W/OpenXR_Handle: FromHandle failed. Handle( 864691128455147113, Type: 12, id: 11881 )}}
- Android LogCat before the freeze with Vulkan: {{SpatialAnchorPipeline: [Throttled count=149] checkStateEq: getActiveGuardian Called in an invalid state. IDLE}}
- The freeze can usually be "fixed" by taking off the quest, waiting until it goes into the "sleep" mode, and putting it on again. (Takes about 15-20 seconds)
- In the Unity Profiler, we could observe that one frame begins at the start of the freeze and ends when it is "fixed"
- The project is big and complicated, but the user could not recreate the issue on a different project.
- If building the project fails, follow these steps:
1. Close the SceneReserver Window (located on the right side of the editor)
2. Delete the File “SceneReserverConfig” Located at Assets/Resources
3. Delete the Folder “SceneReserver” Located at Assets/Scripts/Utility/Editor
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Investigation has determined that an excessive use of particles in a lower powered mobile platform (Quest) is causing the freeze, overwhelming the capabilities of the hardware. Please look into adjusting your particle settings / usage.