It seems that PXR_EyeTracking doesn't seem to respond the correct data using the Unity XR Platform SDK. When calling any of the eye functions, they return True but the referenced passed out seems to anyways to return zero. Even with simple functions like GetLeftEyeGazeOpenness, it returns zero whether my eyes are opened or closed. I presume this is because this is reference is set in the beginning of the function but hits none of the return False cases.
I'm not sure if this SDK is limited for the Pico Neo 2 Eye to but to eliminate any confusion, the steps I have taken to prepare the SDK is:
- Attached PXR_Manger to the same game object as XR Rig with eye-tracking enabled
- Tried updating to the latest versions of v_1.2.3
The code I have used can be seen below:
With the returning the values of
This method was chosen over the PicoVR Unity SDK to be able to interface with the Tobii XR SDK