🥽 1️⃣ VR Level 1 - Denver Photogrammetry - Crashing Every Time On Oculus Quest 2
williamswarren opened this issue · 10 comments
Not sure what is the best way to run this sample project.
- It runs in the Unity Editor no problem
- It builds the apk without issues
- It either crashes fairly quickly when launching on the headset or after moving around a little bit (once the scene loads)
I have played quite a bit with the different parameters on the Aerometrex Denver Photogrammetry GameObject, but cannot seem to find the right things to tweak?
Hello, I would look at the Screen Space Error and increase it. Also, try setting the Maximum cached bytes parameter to 0.
Hi Joseph, thanks for the reply, I tried setting both Screen Space Error to an insanely large number as well as Maximum Cached Bytes to 0 and it still crashes unfortunately.
What is the call stack of the crash?
odh_logs_2023-05-25 05.35.36.027.txt
~22:29 is when I launch the app on the Quest 2
Do you know approximately what time the crash happened @williamswarren? There's a lot of stuff in there, but the moment when it crashes is not obvious at all. I expected to see a segfault or something, but there doesn't seem to be anything like that.
@joseph-kaile can you reproduce this on your Quest 2?
@kring I will try narrow it down, it was not very clear to me either.
I wasn't able to reproduce this problem on the Quest 2. However I experienced bad performance and the tileset constantly disappeared and reappeared. When I switched from OpenXR to Oculus, these problems disappeared. Switching to Oculus may not fix the issue, but I think it's worth a try.
Also, I recall some older versions of 2021.3 had issues with Vulkan. I just tested out with the latest current version (2021.3.26f1) and it works well.
Great, thanks @joseph-kaile , I will give your suggestions a try!
Can confirm it runs buttery smooth when following what @joseph-kaile said and changing from OpenXR to Oculus!
Thanks for the help everyone, left a screenshot for others showing my Unity version and what Joseph suggested, not sure if this is a problem everyone will face, but might be worth updating the info banner in the scene @kring so that others will know to try Oculus in case OpenXR does not work for them!