Hi,
I am reporting a performance issue with ArcGIS Maps SDK for Unity v2.2.0 on Apple Vision Pro hardware.
The application freezes for more than 10 seconds during the initialization. The bottleneck is the following line in ArcGISMapComponent.cs:
view = new ArcGISView(ArcGISGameEngineType.Unity, GameEngine.MapView.ArcGISGlobeModel.Ellipsoid);
The constructor blocks the main thread. This occurs ONLY on the actual visionOS device.
Measured times for "new ArcGISView" execution:
Findings:
Hardware Details:
Development Environment:
Questions:
Thank you.
I have a further update regarding the official sample project (xr_sample_project).
I tested the official sample on Meta Quest 2 (Android), and the initialization was instantaneous:
Meta Quest 2: 0.02s
Apple Vision Pro (Hardware): 7.00s - 10.00s
This comparison proves that even with the same official sample code, the massive delay is not caused by the complexity of XR rendering itself, but is a visionOS-specific hardware/runtime issue.
I hope this helps your engineering team investigate why the visionOS native runtime behaves so differently from Android, iOS, and the Simulator.
Thank you.
Hello,
Which rendering for the vision pro are you using within Unity? There is Reality Kit with Polyspatial or Metal. There are some pretty significant differences between the two. We have noticed quite a few issues when using polyspatial but not metal. Please check within your project settings in Unity and get back to me so I can assist further.
Mason
Hi Mason,
Thank you for your response.
I have checked our project settings and confirmed that we are using Metal for rendering on visionOS.
Please let me know how we should proceed.
Hi Mason,
Interestingly, the initialization issue isn't appearing on another Vision Pro unit we tested today.It starts up immediately without any delay. While I can't check the first unit right now, it makes me wonder if there were any recent server-side updates or fixes on your end?