Forum Discussion
Criterium
8 years agoHonored Guest
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
9 Replies
Replies have been turned off for this discussion
- CriteriumHonored GuestOk. Thanks for the answer!
- AnonymousI have the same problem.. always zero and GetConfigured always false.
Can't find any solution online, I'm spending days on it, PLEASE HELP! - Henrik96Honored GuestSame problem. Tried it with many Versions using the Oculus Quest via link Cable.
I want to Calibrate Player Position and Rotation via Guardian system to get consistent positioning in Unity. - MVRKDEVHonored GuestHave you guys managed to solve this issue?
- SharpeGameExplorerHave you added a GuardianBoundaryEnforcer to the scene? That was my problem when trying to get the dimensions but would always get zero.
- MVRKDEVHonored GuestYeah, I'm using the GuardianBoundarySystem scene to test between the link cable and the actual build. It recognizes the guardian system when I build to the Quest, but when I use the link cable and run in the editor, it doesn't recognize it.
- SoakingRichStart Partnerim having the same problem with this, despite it seeming to work fine about 4 months ago. Can no longer correct boundary data from Rift S in Unity 2019.2.8 . GuardianBoundarySystem scene doesnt show a configured boundary :(
- herbstMHCP MemberSame here. No boundary data returned via Quest + Link.
- vivekrajagopalMHCP Member
MVRKDEV said:
Yeah, I'm using the GuardianBoundarySystem scene to test between the link cable and the actual build. It recognizes the guardian system when I build to the Quest, but when I use the link cable and run in the editor, it doesn't recognize it.
How do you get GuardianBoundarySystem??
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
- 1 month ago
- 11 months ago
- 4 years ago
- 2 months ago