Forum Discussion
adarsh-supernatural
4 years agoHonored Guest
Alternate to using OVRBoundary.GetVisible()
I noticed that the OVRBoundary.GetVisible() is being deprecated and this page suggests not using it anymore
https://developer.oculus.com/documentation/unity/unity-ovrboundary/
Is there an alternate function that I can use to get the visibility status of the oculus guardian?
1 Reply
- SandstedtStart Partner
For future Google users:
https://docs.unity3d.com/Packages/com.unity.xr.meta-openxr@2.1/manual/features/boundary-visibility.html
But if you, like me, are making a Mixed Reality game and use the boundaryless feature, then this documentation is the correct one:
https://developers.meta.com/horizon/documentation/unity/unity-boundaryless/
To enable the guardian:passthroughLayer.enabled = false;
ovrManager.shouldBoundaryVisibilityBeSuppressed = false;
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 11 months ago
- 11 months ago
- 9 months ago
- 6 years ago