cancel
Showing results for 
Search instead for 
Did you mean: 

Eye Tracking Suddenly Broken

Stummo
Explorer

I have an app that uses eye tracking via the oculus movement sdk and open XR for everything else. As of last week Wednesday the eye tracking was working properly in my scene. Today it does not. I'm prompted for permission to use it each time the app starts, but the eye tracking is not working. Has something shipped recently that broke my project? Thanks for any ideas. 

1 ACCEPTED SOLUTION

Accepted Solutions

Stummo
Explorer

Ok. For anyone who's eye tracking suddenly stops working - try this. Make a script that displays the status of eye tracking. I suspect it doesn't even matter what you have it do, just that you give it some other reason to call the eye tracking data. I added this and eye tracking is back and working.  

if (OVRPlugin.eyeTrackingSupported && OVRPlugin.eyeTrackingEnabled)
{
if (OVRPlugin.StartEyeTracking())
{
eyeTrackingStarted = true;
statusText.text = "Eye Tracking Started";
}
else
{
statusText.text = "Failed to Start Eye Tracking";
}
}
else
{
statusText.text = "Eye Tracking Not Supported or Enabled";
}
 

View solution in original post

2 REPLIES 2

Stummo
Explorer

Following up on this. Uninstalled and reinstalled oculus packages, still no eye tracking. Missing deadlines, could use any guidance. 

Stummo
Explorer

Ok. For anyone who's eye tracking suddenly stops working - try this. Make a script that displays the status of eye tracking. I suspect it doesn't even matter what you have it do, just that you give it some other reason to call the eye tracking data. I added this and eye tracking is back and working.  

if (OVRPlugin.eyeTrackingSupported && OVRPlugin.eyeTrackingEnabled)
{
if (OVRPlugin.StartEyeTracking())
{
eyeTrackingStarted = true;
statusText.text = "Eye Tracking Started";
}
else
{
statusText.text = "Failed to Start Eye Tracking";
}
}
else
{
statusText.text = "Eye Tracking Not Supported or Enabled";
}