Forum Discussion

anok1023's avatar
anok1023
Honored Guest
31 days ago

Intermittent xrGetEyeGazesFB Initialization Failure in Unity (Quest Pro via Air Link)

I'm developing Meta Quest Pro on unity by connecting it pc via airlink
I occasionally get this error (roughly 1 out of every 5 runs):

[OVRPlugin] [XRCMD][failure] [XR_ERROR_INITIALIZATION_FAILED]: 
xrGetEyeGazesFB(m_xrEyeTracker, &eyeGazesInfo, &eyeGazes), 
arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:10663
(arvr\projects\integrations\OVRPlugin\Src\Util/CompositorOpenXR.h:364) 
UnityEngine.Debug:LogWarning (object) 
OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int)
(at./Library/PackageCache/com.meta.xr.sdk.core@78.0.0/Scripts/OVRManager.cs:2162)

using Meta XR All-in-One SDK v78 with Unity 2022.3.67f2.
XR Plugin Management is checked OpenXR
Project Setup Tool reports no issues.
In OVR Manager Eye Tracking Support and Permission Requests on Startup > Eye Tracking are checked.

I simply added the Eye Gaze Building Block and call OVRPlugin.GetEyeGazesState() to read data.
The system works most of the time, but sometimes initialization fails and logs the warning above.

Has anyone else seen this intermittent initialization failure, is there a recommended fix or workaround?

1 Reply

  • Hey there anok1023!

    I understand you're having issues with the Eye Gaze building block. Since you mentioned you're using Airlink, have you tried connecting with PCVR via cable link? That would be my first suggestion as a troubleshooting step, especially if it's a timing issue.

    That said, you could also try adding a slight delay after startup before calling OVRPlugin.GetEyeGazesState(). That might be able to tell you if it's a subsystem initialization timing issue or not. Lastly, I would just make sure you're using the latest version of the OVRPlugin and  Unity OpenXR Plugin to avoid any version mismatch issues.

    I can link some of our documentation below that should be helpful to you. Hopefully you found some of this helpful, and if not, please feel free to let me know and we can investigate further!

    XR Plugin Management for Meta Quest

    -G

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions