Search Issue Tracker

In Progress

Won't Fix in 2022.3.X

Votes

0

Found in

2022.3.0f1

Issue ID

UUM-73349

Regression

No

[VR][Quest] OpenXR app crashes when changing URP renderScale more than once under Vulkan

--

-

Steps to reproduce:
1. Open the attached user's project "renderscaleCrash.zip"
2. Open "SampleScene.unity" scene
3. Make sure Vulkan and OpenXR are selected
4. Build to Quest 2/3
5. Wait for a few seconds and observe the crash due to URPAsset.renderScale being changed runtime

Expected Result: OpenXR app does not crash when changing URP renderScale more than once under Vulkan
Actual Result: OpenXR app crashes when changing URP renderScale more than once under Vulkan

Reproducible with: OpenXR 1.7.0 - 1.11.0 (2022.3.0f1, 2022.3.30f1)
Not reproducible: OpenXR 1.11.0 (2021.3.39f1, 6000.0.4f1)
Could not test below 2022.3.0f1 and locate FAV due to package erros after downgrading

Testing Environment: Windows 11
Not reproducible on: No other environment tested

Reproducible with these devices:
VLNQA00609 - Oculus Quest 3 (Quest 3), CPU: Snapdragon XR2 Gen 2 (SM8550), GPU: Adreno 740, OS: 12
VLNQA00415 - Oculus Quest 2 (Quest 2), CPU: Snapdragon XR2, GPU: Adreno 650, OS: 12

Not reproducible with these devices:
N/A, Xiaomi - (Redmi Note 8 Pro), Android 9, CPU: MediaTek Helios G90T MT6785T, GPU: Mali-G76 MC4
N/A, Google Pixel 3 (Pixel 3), Android 9, CPU: Snapdragon 845, GPU: Adreno (TM) 630
N/A, Hmd Global (Nokia G20), Android 13, CPU: Mediatek MT6765G Helio G35 (12 nm), GPU: PowerVR Rogue GE8320
N/A, Samsung Galaxy S21 Ultra 5G (SM-G998B), Android 11, CPU: Exynos 2100, GPU: Mali-G78
N/A, Samsung Galaxy S10e (SM-G970U), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640

Notes:
-User crash tombstone attached "tombstone_21"
-Crash is only reproducible when the "RenderScaleTest" GameObject is enabled with the attached script
-Crash reproduces only with OpenXR
-crash symbolized stack trace:
#00 pc 0000000000090b28 (libUnityOpenXR[.so|.so.sym|.sym.so|.so.dbg|.dbg.so] not found) /data/app/~~fpAbB1ekhm_Jp6-5g1T1bQ==/com.unity.vrtemplate-JKIkQVaaLYNRWCOJV7Y-ng==/lib/arm64/libUnityOpenXR.so (BuildId: 80e0b02d1d1625434890497e73eaaeb25b1fea15)
#01 pc 000000000005564c (libUnityOpenXR[.so|.so.sym|.sym.so|.so.dbg|.dbg.so] not found) /data/app/~~fpAbB1ekhm_Jp6-5g1T1bQ==/com.unity.vrtemplate-JKIkQVaaLYNRWCOJV7Y-ng==/lib/arm64/libUnityOpenXR.so (BuildId: 80e0b02d1d1625434890497e73eaaeb25b1fea15)
#02 pc 00000000000581ac (libUnityOpenXR[.so|.so.sym|.sym.so|.so.dbg|.dbg.so] not found) /data/app/~~fpAbB1ekhm_Jp6-5g1T1bQ==/com.unity.vrtemplate-JKIkQVaaLYNRWCOJV7Y-ng==/lib/arm64/libUnityOpenXR.so (BuildId: 80e0b02d1d1625434890497e73eaaeb25b1fea15)
#03 pc 0000000000b85254 (XRDisplaySubsystem::GfxThread::FrameBoundary() at ??:0) /data/app/~~fpAbB1ekhm_Jp6-5g1T1bQ==/com.unity.vrtemplate-JKIkQVaaLYNRWCOJV7Y-ng==/lib/arm64/libunity.so (XRDisplaySubsystem::GfxThread::FrameBoundary()+532) (BuildId: cdd597447bd73e71)
#04 pc 0000000000e4bee8 (GfxDeviceVK::InsertCustomMarkerCallbackAndDataWithFlags(void (*)(int, void*), int, CustomMarkerCallbackFlags, void*, unsigned long) at ??:0) /data/app/~~fpAbB1ekhm_Jp6-5g1T1bQ==/com.unity.vrtemplate-JKIkQVaaLYNRWCOJV7Y-ng==/lib/arm64/libunity.so (GfxDeviceVK::InsertCustomMarkerCallbackAndDataWithFlags(void (*)(int, void*), int, CustomMarkerCallbackFlags, void*, unsigned long)+204) (BuildId: cdd597447bd73e71)
#05 pc 0000000000fa0208 (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&) at ??:0) /data/app/~~fpAbB1ekhm_Jp6-5g1T1bQ==/com.unity.vrtemplate-JKIkQVaaLYNRWCOJV7Y-ng==/lib/arm64/libunity.so (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)+32300) (BuildId: cdd597447bd73e71)
#06 pc 0000000000f98374 (GfxDeviceWorker::RunExt(ThreadedStreamBuffer&) at ??:0) /data/app/~~fpAbB1ekhm_Jp6-5g1T1bQ==/com.unity.vrtemplate-JKIkQVaaLYNRWCOJV7Y-ng==/lib/arm64/libunity.so (GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)+84) (BuildId: cdd597447bd73e71)
#07 pc 0000000000f98314 (GfxDeviceWorker::Run() at ??:0) /data/app/~~fpAbB1ekhm_Jp6-5g1T1bQ==/com.unity.vrtemplate-JKIkQVaaLYNRWCOJV7Y-ng==/lib/arm64/libunity.so (GfxDeviceWorker::Run()+140) (BuildId: cdd597447bd73e71)
#08 pc 0000000000f98098 (GfxDeviceWorker::RunGfxDeviceWorker(void*) at ??:0) /data/app/~~fpAbB1ekhm_Jp6-5g1T1bQ==/com.unity.vrtemplate-JKIkQVaaLYNRWCOJV7Y-ng==/lib/arm64/libunity.so (GfxDeviceWorker::RunGfxDeviceWorker(void*)+4) (BuildId: cdd597447bd73e71)
#09 pc 000000000079aea8 (Thread::RunThreadWrapper(void*) at ??:0) /data/app/~~fpAbB1ekhm_Jp6-5g1T1bQ==/com.unity.vrtemplate-JKIkQVaaLYNRWCOJV7Y-ng==/lib/arm64/libunity.so (Thread::RunThreadWrapper(void*)+1184) (BuildId: cdd597447bd73e71)
#10 pc 00000000000dfed0 (libc[.so|.so.sym|.sym.so|.so.dbg|.dbg.so] not found) /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+132) (BuildId: d8622d5c4e8dd5e689e617ac5ed845ff)
#11 pc 000000000008c45c (libc[.so|.so.sym|.sym.so|.so.dbg|.dbg.so] not found) /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: d8622d5c4e8dd5e689e617ac5ed845ff)

  1. Resolution Note (2022.3.X):

    Issue is not reproducible: OpenXR 1.11.0 (2021.3.39f1, 6000.0.4f1)
    We suspected it is already fixed in latest Unity. If it still persists, please feel free to re-open.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.