Home Forums Unity SDK No Eye Tracking (4C) detected in the Unity Build

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #18291
    Konrad
    Participant

    Hello,

    I am working with the Tobii 4C Eye Tracker.

    In the Unity Editor, I can interact with the eye tracker, as if it is supposed to be. However, as soon I create the Build with Unity, the Eye tracker is not responding or detected.

    I also created a build from the demo scene and there the eye tracker worked.

    Do I maybe have to initialize something in a scrip??

    Someone maybe knowns??

    Greetings
    Konrad

    #18295
    Grant [Tobii]
    Keymaster

    Hi @konradbielecki, Please contact our Unity SDK specialist Alexey on Discord @ alex8b#9170 and he should be able to troubleshoot the issue with you. Best Wishes.

    #18482
    Konrad
    Participant

    Hallo,
    Thanks for the contact. Alex could help me to solve this problem.

    It seems like there was a problem with the initialisation by starting the build.

    “The TobiiAPI is implemented using so called ‘lazy initialization’. This means that the API is not initialized until the first call to any of its functions. Because of this, the first time the functions are called they will return values that are invalid (IsValid is false)”
    source:

    So he added the if function “if(gaze.IsValid)” and the builds works now fine.

    Best,
    Konrad

    #18486
    Grant [Tobii]
    Keymaster

    Hi @konradbielecki, great! Glad to hear you got this up and running and thanks for sharing the solution.. should hopefully be of use to other users. Best Wishes.

    #18998
    Omar
    Participant

    Hi Konrad,
    I am new to Tobii and I am trying to read but I couldn’t and got this error message

    “Warning: Unsuccessful read: The specified amount of data was not returned within the Timeout period.
    ‘udp’ unable to read any data. For more information on possible reasons, see UDP Read Warnings. ”

    Thanks in advance
    OM

    #19000
    Grant [Tobii]
    Keymaster

    Hi @anaomar, could you kindly clarify exactly where this message occurs in conjunction with what SDK and platform you are using together with the your eye tracker model.

    Therereafter, we will be better placed to provide assistance in this issue. Best wishes.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.