08-13-2024 01:35 PM
Hi, I got the Meta XR Simulator working a few days ago, but now it crashes Unity every time I enter Play Mode. I have not changed anything significant between the time it was working and not working, so I don't know what could have caused the sudden change.
General Info:
- Meta Packages being used: Core SDK, Interaction SDK, Interaction SDK Essentials, MR Utility Kit, Haptics SDK
- OpenXR version 1.11.1-exp.1
- Oculus XR Plugin 4.2.0
- Unity version 2022.3.30f1
- Meta XR Simulator installed through Homebrew because I am on a Mac
Editor Log:
If anyone has any ideas as to what the problem might be, please let me know.
Solved! Go to Solution.
3 weeks ago
Yes, it is the fix task that sets Enable Dynamic Resolution, it seems Max Dynamic Resolution Scales over 1.0 crash the simulator. If the simulator has crashed you will need to exit the unity editor and restart it, with dynamic resolution adjusted (Under camera rig, OVR Manager....) If you see this fix task, either ignore it or correct it afterwards :
Max Dynamic Resolutions over 1.0 will crash the simulator :
08-14-2024 12:55 AM
08-14-2024 12:51 PM
This is not working for me. I am not sure if it is because I am on Mac and you are on Windows, but the simulator still crashes when I delete my Cache folder. I am deleting the contents of the folder in the directory ~/Library/Unity/cache, but it hasn't changed anything. When I try to delete the other Cache folders that are within my project folder (Cache, PackageCache, ShaderCache, StateCache), it causes major project errors, and I have to enter my project in Safe Mode. Would there be any other reasons that this would not work?
a month ago
I also encountered simulator crashes after adding XRI. Although I used Git reset to revert to a previous version, the simulator still crashed. Only after deleting the Caches folder did it return to normal.
Therefore, if you are using Git, try using Git reset to revert to a version that you are sure works, then delete the Caches folder, and finally restart the simulator.
a month ago
I am not using Git, I am using Unity Version Control. I gave up on trying to fix the error and just copied all my progress into a new project(which wasn't too bad because my project is mostly building blocks at this point). The Simulator works in the new project, and it has not crashed so far, so I am just going to hope the error doesn't come back.
3 weeks ago
Yes, it is the fix task that sets Enable Dynamic Resolution, it seems Max Dynamic Resolution Scales over 1.0 crash the simulator. If the simulator has crashed you will need to exit the unity editor and restart it, with dynamic resolution adjusted (Under camera rig, OVR Manager....) If you see this fix task, either ignore it or correct it afterwards :
Max Dynamic Resolutions over 1.0 will crash the simulator :
3 weeks ago
you're a godsend bro. I've been tinkering with this for a month. many thanks!