Home Forums Unity SDK Trouble for TobiiXR initialisation when (re)loading Scenes Reply To: Trouble for TobiiXR initialisation when (re)loading Scenes

Grant [Tobii]

Hi @vdev, thanks for getting touch and sorry to hear about your issues. With regard to your questions:

— It is impossible to detect the gaze direction (eyeTrackingData.GazeRay.IsValid is always false
Do you get any errors printed in the console? If not, try calling TobiiXR.Stop()when the first scene is unloaded and make sure the new scene calls TobiiXR.Start() and see if that makes a difference.

–- The gaze direction is reverse (when we look to the right, it indicates the left and respectively.
This issue sounds like it could be related to the tracking space of the eye tracking data. Have a look at https://vr.tobii.com/sdk/develop/unity/documentation/api-reference/#tobiixr-geteyetrackingdata-tobiixr-trackingspace to read more about local vs world space data and see if switching between them fixes the issue.

Please go through these and let us know how you get on. Best Wishes.