08-31-2022 01:26 PM
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?
3 weeks ago - last edited 3 weeks ago
For future Google users:
https://docs.unity3d.com/Packages/com.unity.xr.meta-openxr@2.1/manual/features/boundary-visibility.h...
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;