Forum Discussion
mrjekyll91
3 years agoHonored Guest
Unable to start Quest Pro eye tracking in Oculus Integration Package v47
Just a heads up.. I know this post is long, but I wanted to provide as much detail as possible so we can have a higher likelihood of resolving this issue..
I am unable to start eye tracking for the Quest Pro in the Unity Editor. My Quest Pro is connected using Oculus Link. The sample scene renders on the Quest Pro when I hit play, and the controllers/headset track properly. My OculusProjectConfig file has eye tracking set to "Required."
In effort to debug this problem...
I added some print statements to the StartEyeTracking method in OVREyeGaze:
private bool StartEyeTracking()
{
print("START EYE TRACKING");
if (!OVRPermissionsRequester.IsPermissionGranted(EyeTrackingPermission))
{
print("NO PERMISSIOn");
OVRPermissionsRequester.PermissionGranted -= _onPermissionGranted;
OVRPermissionsRequester.PermissionGranted += _onPermissionGranted;
return false;
}
if (!OVRPlugin.StartEyeTracking())
{
print("FAILED START");
Debug.LogWarning($"[{nameof(OVREyeGaze)}] Failed to start eye tracking.");
return false;
}
return true;
}
It is outputting "FAILED START".
Continuing on into OVRPlugin.StartEyeTracking:
public static bool StartEyeTracking() =>
#if OVRPLUGIN_UNSUPPORTED_PLATFORM
false;
#else
version >= OVRP_1_78_0.version &&
OVRP_1_78_0.ovrp_StartEyeTracking() == Result.Success;
#endif // OVRPLUGIN_UNSUPPORTED_PLATFORM
Notice the extern ovrp_StartEyeTracking will not be called if the version is not >= OVRP_1_78_0.version. I ended up printing out OVRPlugin._version when it first gets initialized. It is outputting as 1.52. Obviously, it is not a version greater than 1.78, which is likely why eye tracking wont even try to start. OVRManager.InitOVRManager will also print out the current versions. The OVRPlugin version is outputting there as 1.52 as well.
I am unsure how to upgrade this OVRPlugin version to the latest. I'm certainly on the latest Oculus Integration Package from the Unity asset store.
Any help with this issue is appreciated. Thanks.
Unity version: 2020.2.2f1
Oculus Integration Package version: 47
1 Reply
Replies have been turned off for this discussion
- ItsGHMEHonored Guest
Hey so i wanted to ask if you found a solution or not ive been struggling for a long time now
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 6 years ago
- 2 years ago