Select to view content in your preferred language

SDK 2.1.0 in Unity and visionOS

536
2
09-04-2025 11:47 AM
cboivin
New Contributor

Hello all,

 

Started looking into ArcGIS SDK 2.1.0 for Unity, and am at the point where I am trying to make this work on visionOS. 

Requirements page lists visionOS, which seems to suggest it is supported: https://developers.arcgis.com/unity/system-requirements/system-requirements-2-1-0/

I have been able to get the maps to show in the editor. However, at runtime, when running it on device (via Polyspatial's Play to Device), I basically get a bit of geometry, but everything is basically gray (which seems to indicate some sort of shader problem, perhaps?). 

Also, I get the following error while running:

[Diagnostics] Exception in multicast command handler PolySpatialCommandHandlerChain, removing receiver: System.InvalidCastException: Specified cast is not valid.
at (wrapper castclass) System.Object.__castclass_with_cache(object,intptr,intptr)
at Unity.PolySpatial.Internals.UnitySceneGraphAssetManager.TryGetOrCreateUninitialized[T] (Unity.PolySpatial.Internals.PolySpatialAssetID assetID) [0x00000] in /Users/bokken/build/output/unity/polyspatial/Packages/com.unity.polyspatial/Runtime/Platforms/Unity/UnitySceneGraphAssetManager.cs:110

...

So, a couple of questions I guess:

  • Is visionOS really supported?
  • If so, is it compatible with Polyspatial (i.e. RealityKit)?
  • Are there any samples that could be accessed showing how to set up a scene to work in visionOS (how to work around multiple main cameras, etc..)

Thanks in advance for the help, much appreciated.

 

Charles

0 Kudos
2 Replies
MasonGaw
Regular Contributor

Hello, 

the arc gis maps sdk for Unity does support vision os however it has a fairly large caveat. We unfortunately are only able to support VR and Windowed mode for the Vision Pro. AR mode does not work due to limitations from apple and unity in regards to support for shaders. We are continuously monitoring the documentations and support from both unity and apple but we have yet to see anything. 
we apologize for the inconvenience. 

Mason

0 Kudos
cboivin
New Contributor

Hello Mason -- thanks for the reply. Not quite what I was hoping for, but I appreciate getting a clear answer. 

0 Kudos