Run to Device( on WLAN)?

Is it possible to use a local wifi router connecting Vision Pro and Mac for developing? I tried from Unity and Xcode. From Unity, the host app wouldn't open without WIFI (internet connection) From Xcode, I can see the Vision Pro paired, but while try to run there's no device listed. Any suggestions? Thanks a lot, /Ruiying

Answered by Vision Pro Engineer in 820568022

Yes, this is possible. Make sure your Vision Pro and your Mac running Xcode are connected to the same network. For visionOS, this means they need to be on the same WI-FI network (your WLAN). You can also use an iPhone hotspot, which I have found to be very convenient.

You also need to make sure you have paired your Vision Pro with your Mac. Have you entered a code to complete this process? Here is Apple's official documentation on this subject.

To run directly from Unity to Apple Vision Pro (using PolySpatial) there is a separate process, Play to Device, that allows you to connect Unity directly to a simulator or device. You will need to install an app (via TestFlight, see the documentation) on your Vision Pro and also an internet connection.

Let me know if that helps or if you have any more questions!

Accepted Answer

Yes, this is possible. Make sure your Vision Pro and your Mac running Xcode are connected to the same network. For visionOS, this means they need to be on the same WI-FI network (your WLAN). You can also use an iPhone hotspot, which I have found to be very convenient.

You also need to make sure you have paired your Vision Pro with your Mac. Have you entered a code to complete this process? Here is Apple's official documentation on this subject.

To run directly from Unity to Apple Vision Pro (using PolySpatial) there is a separate process, Play to Device, that allows you to connect Unity directly to a simulator or device. You will need to install an app (via TestFlight, see the documentation) on your Vision Pro and also an internet connection.

Let me know if that helps or if you have any more questions!

Thank you. Finally problem solved. Xcode, open the unity project, I didn't notice that the Signing&Capabilities page was empty. I need to add any other device on the general page and remove the apple vision and add it back then I can see options on the signing&capabilities page then I have the apple account and team set. After this set the Vision Pro is on the run to list. Run to Device on Unity, since we have to use local network, I can't run the host from TestFlight which asking for internet connection. Instead run the host by clicking the icon on desktop works (no complaining about internet)

Run to Device( on WLAN)?
 
 
Q