Hello,
I try to compile a fully immersive (VR) project but Xcode fails to compile with the following error
/Volumes/MacDev/Projects/Unity-Novelab/indus_ar/ARIndus/Build/Classes/Unity/DisplayManager.h:10:13: ‘UIScreen’ is unavailable: not available on visionOS
Is there a fix for PolySpatial 2.2 which requires xcode Beta 5? We are building an immersive space from scratch and are still seeing this error in PolySpatial 2.2
“UIScreen’ is unavailable: not available on visionOS”
AFAIR setting the device target to Simulator (Thx @P-LL for the below) fixed it for us. I will check when I get back to my desk.
`I think this thread adresses it. VR Apps Fail to Run in Simulator . Essentially, settings the Device target to “Simulator” as stated here should allow you to run the build in VR mode on the Simulator.