When setting up a Unity project to build for Android Quest and VisionOS Vision Pro, I assumed that the Assembly Definition Asset for Unity.PolySpatial (in Packages/PolySpatial/Runtime/Public), excludes Android on build. but the PolySpatial package causes a linker error when trying to build on Android.
I’m very new to Unity cross platform projects so maybe I’m missing something obvious.
I am able to build both Android (for Quest) and VisionOS if I create two different projects.
Fatal error in Unity CIL Linker
Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Unity.PolySpatial, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
So, I’m unable to build for Android in a cross platform project that is intended to target both Android and VisionOS.
Any ideas?