Getting play area dimensions in Unity 5.4.0 not working
Calling
We've tried this on multiple machines with the same result.
This seems to have been fixed with later versions of Unity, we tried both 5.4.3 and 5.5.0 with success.
Is there a workaround or some other way to get play area size in Unity 5.4.0?
Steps to reproduce issue:
- Create empty project in Unity 5.4.0f3
- Import Oculus utilites (tried on both 1.10.0 and 1.11.0)
- Set up scene with OVRCameraRig, enable Virtual Reality support in Unity, etc.
- Call OVRManager.boundary.GetDimensions in some script
OVRManager.boundary.GetDimensions(OVRBoundary.BoundaryType.PlayArea) or OVRManager.boundary.GetDimensions(OVRBoundary.BoundaryType.OuterBoundary) in Unity 5.4.0 always just returns a zero vector. OVRManager.boundary.GetConfigured() also returns false.We've tried this on multiple machines with the same result.
This seems to have been fixed with later versions of Unity, we tried both 5.4.3 and 5.5.0 with success.
Is there a workaround or some other way to get play area size in Unity 5.4.0?
Steps to reproduce issue:
- Create empty project in Unity 5.4.0f3
- Import Oculus utilites (tried on both 1.10.0 and 1.11.0)
- Set up scene with OVRCameraRig, enable Virtual Reality support in Unity, etc.
- Call OVRManager.boundary.GetDimensions in some script
