Unable to Deploy to Production Device

Just aqquired our device, and paired it, I’m unable to deploy our app that was working in the simulator to our physical device and I’m met with a number of build issues,

Using Unity 2022.3.18
Device is using VisionOS 1.0.2

Link to the log files:

In case someone else find this, we tried to make ARKit 5.1.2 dll’s try to compile on Vision which led to compiling on Polyspatial and Simulator but wouldn’t work on the device

Hi @faysalfdt

It’s unclear to me from your last post whether you resolved the issue or not. Trying to
“make ARKit 5.1.2 dll’s try to compile on Vision” would be the wrong approach, so hopefully you successfully worked around this by using the packages we’ve provided instead and without modification, but please let us know if you’re still having issues.

–Tim

So after a bit of investigation we realized that the system VisionOS is using seems to be using visionOS XR and not actually true ARKit

https://docs.unity3d.com/Packages/com.unity.xr.visionos@0.1/api/UnityEngine.XR.VisionOS.VisionOSSessionSubsystem.html

So we ended up removing the ARKit package from our application as we misunderstood the subsystem it was using

1 Like

Yes that’s correct; this is because Apple themselves have two distinct versions of ARKit – one for iOS and one for visionOS. Glad you figured out your issues though!

–Tim