I’m currently developing an app for visionOS and working with an ImmersiveSpace. I’ve noticed that the system automatically enforces a safety boundary at approximately 1.5 meters. If the user moves beyond this limit, the content fades out or the system reverts to Passthrough.
Is there any way to disable this boundary or extend its radius?
This app is currently in the experimental/verification phase, and it is intended to be run on a Vision Pro in Developer Mode. Since the primary goal is to test large-scale spatial interactions during development, I am looking for any way—including developer-specific settings or configurations—to bypass or expand this limit.
If there isn't a direct API to change the boundary size, are there any recommended workarounds for testing movement within large environments?
Any insights would be greatly appreciated!
So this isn't a good idea but it does work. If you load the immersive space as mixed style (instead of full or progressive), visionOS will not use that safety features. You can still occlude the users view using 3D content, skyboxes, etc. Just be aware that you may have to update your lighting, as visionOS will contribute passthrough lights into the scene.
Like I said, it isn't a good idea. A friend added this to his app and while testing it I knocked over a lamp and walked into the wall a few times 😅