I am needing to use a 2D UI pane for my VisionOS app, and it either shows just the generic skybox with no pane, or I get a flashing black and gray windows like something is crashing and restarting over and over.
All works fine when I compile to a MacApp.
I am using Unity 6, Xcode 16 and VisionOS 2.0 and 2.1
Since you mention the skybox, I assume you’re using Metal mode (versus RealityKit mode, which won’t show the skybox). Are you using a screen space render mode on your canvas, by any chance? You may want to switch to a world space canvas.
I played with the render modes, etc, still no joy. Why would it work in the Unity’s simulator, but not in XCode’s? All I want to do get some working controls, shouldn’t be too hard.