Tagged: 4C Unity Build
- 01/07/2020 at 12:50 #18291KonradParticipant
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??
Konrad01/07/2020 at 14:44 #18295
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.22/07/2020 at 17:01 #18482KonradParticipant
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)”
So he added the if function “if(gaze.IsValid)” and the builds works now fine.
Konrad23/07/2020 at 12:11 #18486
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.07/10/2020 at 01:32 #18998OmarParticipant
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 #19000
- You must be logged in to reply to this topic.