We are seeing a crash in simulator (doesn’t seem to happen on device) after upgrading to 2022.3.18f1. We are fully immersive VR, and the crash happens with 0.7.3 and 1.0.3. The crash is not consistent and happens in a few different places:
Immediately after launch, before reaching our code.
Shortly after #1, but after some of our code has run.
If it makes it past those points, it will load into our scene and remain stable, but it will crash 100% of the time when attempting to do certain things, both of which involve loading an AssetBundle.
In all three cases the crash looks the same, it happens on a worker thread in “_platform_memmove ()”.
We are attempting to update to 1.0.3 now, and also seeing the crash in the picture. We tried to reimport all, and I noticed that one of our VolumeCameraWindowConfigurations had a missing script on it, like the VolumeCameraWindowConfiguration was imported incorrectly. So we deleted the configuration and recreated.
After all that above we are no longer seeing the #1 crash you have mentioned, but now our asset bundles aren’t being included in our Xcode project for some reason.
Not sure if helpful or not, just echoing that we have seen #1 as well, and are seeing something odd with asset bundles now as well.
I think maybe some texture size too large in my project, so I Apply Overiddes Max Texture Size to “Max 2048”, after this change no longer seeing the crash.
Set texture size to 1024 fix crash in some cases but not all, downgrade to 0.7.1 and disable PolySpatial runtime fix all crashes. Since I’m developing VR game, so PolySpatial runtime seems not be necessary.
Uncheck enable runtime in PolySpatial plugin tab in project settings.
Now I just uninstall this plugin and reclone whole project from git to clean any untracked files and fresh load project to fix all crashes(only uninstall plugin will left some files which still cause crash), I dont use any feature from this plugin.
[Blocker] We had similar crash only in the xcode sim. Unity 2022.18 PS 1.0.3. Started yesterday afternoon. Mon, Tues, Wed the simulator worked fine. This screen shot is side by side of the error (on the left) with a simulator build from earlier in the day that runs fine (on the right)
Bug Incident Number
IN-67098 - [Blocker] xcode Simulator Crash for visionOS Virtual Reality PS 1.03 Unity 2022.
This crash is due to a bug in how ASTC compressed textures are handled in Apple’s Simulator; we thought the issue was fixed so took out our workaround in 18f1, but turns out it wasn’t fully fixed. The workaround (to uncompress at runtime, in the simulator only) is back in 19f1!
You can get an early download of 2022.3.19f1 here:
The full beta page should you need additional platforms is here (but note that visionOS isn’t yet listed here, and the “download assistant” seems to sometimes install the Intel editor!) Unity 2022.3.19f1 download files
Please let us know if this fixes things for you all!
Thanks! 2022.3.19f1 fixed everything for us in full-immersion. Oddly enough, 2022.3.18f1 was still crashing even with just a single untextured default quad in a scene before switching to 2022.3.19f1
Converting to 2022.19 fixed this for us as well.
History: We tried upping the Project Settings/Quality defaults from very low to low and that brought back the sim crash seen above. Then our steps described in our post above didn’t fix it.
Upgrading from 2022.18 to 2022.19 fixed the sim crash for a fully immersed (VR) experience. Appreciate the fix!
Hello, I had the same problem. 2022.3.18f1 worked for me just once, then I started having the xcode simulator crash like everyone else did, I also tried setting texture max size to 1024, setting quality, etc, also tried 2022.3.19f1, and combinations of those stuff, also tried restarting computer, reinstalling, none of those worked for me…