Tagged: 4C Unity Build
- This topic has 5 replies, 3 voices, and was last updated 4 years ago by Grant [Tobii].
- AuthorPosts
- 01/07/2020 at 12:50 #18291KonradParticipant
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
Konrad01/07/2020 at 14:44 #18295Grant [Tobii]KeymasterHi @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.
22/07/2020 at 17:01 #18482KonradParticipantHallo,
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,
Konrad23/07/2020 at 12:11 #18486Grant [Tobii]KeymasterHi @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.
07/10/2020 at 01:32 #18998OmarParticipantHi 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
OM07/10/2020 at 10:53 #19000Grant [Tobii]KeymasterHi @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.
- AuthorPosts
- You must be logged in to reply to this topic.