App not working on Headset anymore, need help

Hi, I’ve working on my App the whole day and upload it multiple times to my Apple Vision Pro and all works fine. Suddenly my App is not working anymore. It’s mostly transparent and I don’t know why. I guessed I have done something wrong and go back to a working copy but there is also the same. I have build the Apple Vision Pro Sample Scene and also the same. I have made a clean build, delete build folder, restart headset and Mac, update to unity 6000.22f1, update all packages, delete Xcode (16 release) derived folder.
I am using visionOs 2.0.1 on Headset. I have updated all packages (PolySpatial).
I don’t know what to do next…

Is this a metal/VR app or are you using PolySpatial? In other words, what app mode do you have selected in visionos settings?

Hi, I am using RealityKit with PolySpatial App Mode

Does it work in the simulator? You may want to try using the debug options (the ones in Xcode that allow you to visualize the object locations and bounds) to see if anything is visible when those are enabled. Otherwise, you can submit it as a bug report (and let us know the incident number: IN-#####) and we can take a look.

Hi, it wasn’t working on Simulator. But befor opening a Bug report i wanted to make sure that I haven’t done any errors.
I have removed all packages (polyspatial, visionos, xri toolkit) and all samples and installed them new. I have removed the build profile and create an new and “ta ta” it’s working again.
Thx for help.

1 Like

I am so tired developing for AVP with Unity. My project is running without issues, changing one codeline, than i have the same issue shown above. Revert coeline, same. Switch to Simulator, same. Remove all packages and install them new, remove build profile and create new. Package to Simulator… works! Package to device… same as above, package for simulator again… same as above.
I have spend hours and hours to solve this problem with no success. May be i’ve done something wrong but I don’t know what. Waste of money and time…

Loading VolumeDemo from XR Interaction Toolkit (the scene where my scene based on)… same
Play to device works

Delete XCode Cache was the solution