I am attempting to run the sample code from this tutorial in a VisionOS simulator but whenever I try to open the immersive space, the app crashes with this error:
Unable to present an Immersive Space for id 'CubeMeshInteraction': Error Domain=FBSWorkspaceErrorDomain Code=1 "scene invalidated before create completion"
I haven't edited the code at all since downloading. What could be the issue?
Since SceneReconstructionExample visionOS app uses ARKit's
Hand Tracking ProviderandScene Reconstruction Provider, you will not be able to run it on Xcode Simulator. This app requires a real Vision Pro device to work. To check if providers are supported or not, use this code: