Reproduction steps:
- Open the user’s attached project
- Open the “/Assets/Scenes/SampleScene.unity” Scene
- Go to File > Build Settings and select the Android platform
- Build and run on an Oculus device
Expected result: The Player and the Editor don't crash
Actual result: The Player or the Editor crashes
Reproducible with: 2022.2.0b10
Not reproducible with: 2022.2.0b11
Could not test with: 2020.3.40f1, 2021.3.12f1, 2022.1.20f1, 2023.1.0a15 (UnityEditorConsoleSink.cs(129,53): error CS0234: The type or namespace name 'LogEntryUTF8StringView' does not exist in the namespace 'UnityEditor’)
Reproducible with devices:
VLNQA00379, Oculus (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650
First few lines of the stack trace:
0x000001820948a688 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Rendering.ScriptableRenderContext:Internal_Cull_Injected (UnityEngine.Rendering.ScriptableCullingParameters&,UnityEngine.Rendering.ScriptableRenderContext&,intptr)
0x000001820948a5ab (Mono JIT Code) UnityEngine.Rendering.ScriptableRenderContext:Internal_Cull (UnityEngine.Rendering.ScriptableCullingParameters&,UnityEngine.Rendering.ScriptableRenderContext,intptr)
0x000001820948a4fb (Mono JIT Code) UnityEngine.Rendering.ScriptableRenderContext:Cull (UnityEngine.Rendering.ScriptableCullingParameters&)
0x0000018209487213 (Mono JIT Code) [UniversalRenderPipeline.cs:542] UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCamera (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Rendering.Universal.CameraData&,bool)
0x00000182084a7ea3 (Mono JIT Code) [UniversalRenderPipeline.cs:728] UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderCameraStack (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera)