oculus-samples / Unity-Movement

Body, Eye and Face Tracking code sample.
Other
264 stars 45 forks source link

Fail to start eye tracking. #43

Closed alex-wy closed 5 months ago

alex-wy commented 9 months ago

Hello Oculus Developers, I hope this message finds you well. I am currently facing an issue in Unity 2020.3.40fc1 while trying to use the eye-tracking technique by the up-to-date Oculus Integration. I kept getting this warning issue and cannot use the OVR Eye gaze script using Quest pro. Could you plz help me? (The permission of eye-tracking has been opened in the Oculus app and device. The warning is as follows:

[OVREyeGaze] Failed to start eye tracking. UnityEngine.Debug:LogWarning (object) OVREyeGaze:StartEyeTracking () (at Assets/Oculus/VR/Scripts/OVREyeGaze.cs:136) OVREyeGaze:OnEnable () (at Assets/Oculus/VR/Scripts/OVREyeGaze.cs:110) UnityEngine.GUIUtility: ProcessEvent (int,intptr,bool&)

Since the old integration has been deprecated, I tried to add the new Meta XR SDK Core package in a new project of Unity 2022.3.7f1c1. But I am receiving the following error:

[Package Manager Window] Error adding package: com.meta.xr.sdk.core@59.0.0. undefined == true UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

sohailshafiiWk commented 9 months ago

Hello. When using Unity 2022, please use 2022.3.11f1 or newer (see https://github.com/oculus-samples/Unity-Movement/issues/29).

Do you encounter tracking problems with just eye tracking, or with body and face tracking as well? Have you tried looking over https://developer.oculus.com/documentation/unity/move-troubleshooting/, after incorporating https://developer.oculus.com/downloads/package/unity-integration?

Also note that for the UPM package, you need the Meta XR Core SDK, Interaction SDK and Interaction SDK OVR Samples. Unity 2021.3.26f1 is required or higher is require from the XR SDK packages.

alex-wy commented 9 months ago

Hello. When using Unity 2022, please use 2022.3.11f1 or newer (see #29).

Do you encounter tracking problems with just eye tracking, or with body and face tracking as well? Have you tried looking over https://developer.oculus.com/documentation/unity/move-troubleshooting/, after incorporating https://developer.oculus.com/downloads/package/unity-integration?

Also note that for the UPM package, you need the Meta XR Core SDK, Interaction SDK and Interaction SDK OVR Samples. Unity 2021.3.26f1 is required or higher is require from the XR SDK packages.

Hi, thank you for your response! I only use the eye-tracking in my unity project. I've tied the instructions you've sent and now the version of Unity is 2022.3.13f1.

But the problems still exist. Although I turn on all the settings of eye-tracking, the OVREyeGaze.EyeTrackingEnabled was false all the time and the warning showed up as before. image

Plus, the UPM package that I needed still could not be downloaded and reported errors. image

sohailshafiiWk commented 9 months ago

In regards to tracking, can you make sure tracking permissions are checked under "Permissions Requests on Startup?" Is your account part of an organization that you created according step 2 of https://developer.oculus.com/documentation/unity/move-troubleshooting/? Is the same account being used for your device and also the Oculus software running on your PC?

For the UPM error, have you tried clearing your project's library, clearing packages to defaults (Help->Reset Packages To Defaults), and trying to launch UPM again with 2022.3.13f1?

alex-wy commented 8 months ago

In regards to tracking, can you make sure tracking permissions are checked under "Permissions Requests on Startup?" Is your account part of an organization that you created according step 2 of https://developer.oculus.com/documentation/unity/move-troubleshooting/? Is the same account being used for your device and also the Oculus software running on your PC?

For the UPM error, have you tried clearing your project's library, clearing packages to defaults (Help->Reset Packages To Defaults), and trying to launch UPM again with 2022.3.13f1?

Thanks for your reply!

Yes, I've checked these steps and ensured that I opened all of the permissions and used the same account. image

For the UPM error, I've tried clearing packages to defaults, but the UPM packages still could not be downloaded and reported the same errors. image

tdmowrer commented 8 months ago

The error message says "See console for more details". Are there any more errors or warnings in the console related to the package manager?

alex-wy commented 8 months ago

The error message says "See console for more details". Are there any more errors or warnings in the console related to the package manager?

Yeah, here is the content of the error message. image

These two errors show the same error message.

samblackmore commented 8 months ago

Hi @alex-wy đź‘‹

Regarding the undefined == true error message, the Unity Package Manager team would like to take a closer look at this but we'll need some more information such as the upm.log file (found here). The best course of action is probably to Report a Bug which will then get sent our way. Thanks!

andkim-meta commented 5 months ago

Hello, we wanted to check if you were still encountering this issue. We recommend that you try again with v62 of the Meta XR All-in-One SDK located here (https://assetstore.unity.com/packages/tools/integration/meta-xr-all-in-one-sdk-269657) and ensure that you are logged into Unity Hub along with the Unity Editor.

sohailshafiiWk commented 5 months ago

Hello. Since there has been no activity for a while, we will close this issue. If you run into more problems, please let us know.