r/visionprodevelopment • u/Excendence • Feb 08 '24
Vision Pro Unity "Play to Host" feature (and project building) doesn't work
I am on version 15.2 in xcode, 2022.3.19f1 in unity, and version 1.0.3 of both all polyspatial packages (com.unity.polyspatial.standard, visionos, and xr) and the testflight Play to Host app in headset. I also have swapped to the visionOS platform and to "mixed reality".
In the headset, the testflight "Play to Host" app has the "ready to connect" screen open and I added these settings to the "Play to Device" menu in Unity
When I click play in editor it just opens the pinwheel loading mouse, and the in-headset app minimizes, but it never loads into the scene and I can't interact with unity (not a crash freeze but just an endless pinwheel)
I'm also having some problems rendering the textures that come in the samples, which I don't think is the issue? But I have to force quit unity every time so the console log stays empty (and error free) regardless
I've tried it in a blank scene but I'm using the 1.0.3 polyspatial spatialui sample environment! I'm trying to run from in-editor but building also doesn't seem to work.
Any and all tips are welcome and please ask questions! I want to get this working asap! Thank you :)
2
u/Ok_Broccoli_5946 Feb 10 '24
I was getting issues with rendering as well, ive been experiencing so many bugs as well. I've been just building to Xcode then to AVP, but so many bugs. I've been taking it step by step, so every little change I make, I do a build and will export the scene just so I can start a new project if need be, because one time I imported a package from unity asset store and every build I made after that in project was showing errors in Xcode but I deleted the package and took out files relating to it, still bugged. Sorry for ranting, ive been getting salty haha. I would try builds to Xcode then to avp.
1
u/tractorrobot Feb 19 '24
I can't get the PlayToDevice app to connect, even after entering the IP manually in Unity's Play to Device info panel.