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:
Thanks in advance for the help, much appreciated.
Charles
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
Hello Mason -- thanks for the reply. Not quite what I was hoping for, but I appreciate getting a clear answer.