cancel
Showing results for 
Search instead for 
Did you mean: 

Getting boundary points after boundary is reset

damondium
Honored Guest

Hi!

I had this all working with the legacy OVR system, but I've switched to the OpenXR backend and now it doesn't work any more. Very interested in any help, suggestions, pointers.

I'm using OpenXR as the backend, and am only referencing using a built apk on the device, not use of link in any way.

TryGetBoundaryPoints doesn't return any points. The only way I've gotten boundary points is with:

OVRPlugin.GetBoundaryGeometry2(OVRPlugin.BoundaryType.PlayArea, IntPtr.Zero, ref pointsCount

That's great, it works fine, but if the boundary changes and I call it again I get the same points as before. I've tried everything I can think of including shutting down OpenXR and then starting it up again. No dice.

The only "solution" that is working for me now is on any event where the boundary may have changed like resuming focus, I save game and reload the scene. That way I get the new boundary points. While it works, it isn't ideal.

Help!

Damon

0 REPLIES 0