OpenVR XR Plugin - no boundary data returned
I'm attempting to retrieve the boundary data from the OpenVR XR plugin. I'm getting "success" returned form the call to the XRInputSubsystem: List<Vector3> boundarypoints = new List<Vector3>(); var ok = xris.TryGetBoundaryPoints(boundarypoints);
ok is true. boundarypoints is always a zero length list.
This happens in the Editor and also with a player exe.
I only have the OpenVR loader selected in the loaders list, all other loaders are disabled. I've tried stopping and restarting the subsystem. I've tried initializing the plugin after startup. I've tried polling every second or so for a minute, with the same results (zero points). I've looked at all the connected XR devices to confirm that they are assigned the same XRInputSubsystem (which they are).
Is this expected behaviour in the current version of the plugin, or should valid boundary points be returned?
Unity 2019.3.13f1, OpenVR XR Plugin version preview 2 - 1.0.0 (com.valve.openvr@db9e35089d)
Yeah I have this same issue on the Quest 2.
List<XRInputSubsystem> inputSubsystems = new List<XRInputSubsystem>(); SubsystemManager.GetInstances<XRInputSubsystem>(inputSubsystems); if (inputSubsystems.Count > 0) { List<Vector3> boundary = new List<Vector3>(); if (inputSubsystems[0].TryGetBoundaryPoints(boundary)) { // boundary is now filled with the current sequence of boundary points Debug.Log("got points: " + boundary.Count);
Results in boundary count == 0
+1 @zite any news on this? :/