0 votes
by (140 points)
recategorized by

Using:
Unity 2020.3.19f1
Unity XR Platform SDK v1.2.4
AVProVideo

Building for:
PICO G2 4K

I encountered this error while trying to get the rotation of the controller. Tried having both sdks installed but it did not work.
Attached you can see the error in my console as well as the line of code that gets referenced.

Full error description:

DllNotFoundException: PvrUnitySDK
Unity.XR.PXR.PXR
Plugin+Controller.GetControllerPredictSensorData (System.Int32 controllerID, System.Single predictTime) (at C:/Users/Stela/Downloads/PicoXRPlatformSDK-1.2.4B72/Runtime/Scripts/PXRPlugins.cs:1867)
Unity.XR.PXR.PXRInput.GetControllerPredictRotation (Unity.XR.PXR.PXRInput+Controller controller, System.Single predictTime) (at C:/Users/Stela/Downloads/PicoXRPlatformSDK-1.2.4B72/Runtime/Scripts/Features/PXRInput.cs:110)
VideoController.Update () (at Assets/Scripts/VideoController.cs:24)

enter image description here

enter image description here

1 Answer

0 votes
by (760 points)

Did you debug it in the editor? This interface seems to be available only on the device.

...