Tagged: Eyex Unity 4.10 build problem
- 06/08/2015 at 15:32 #3285
Hello Tobii devs & moderators.
I’m currently working with my small team on a first person game for Unity 5 using the eyetracker to control head rotation and other features.
in the unity inspector everything works like a charm, and we’re really enjoying the progress. But any built version we’ve tried doesn’t give us any eyetracking at all.
any and all help is welcomed, we’re stumped (and approching deadline at breakneck pace)07/08/2015 at 13:58 #3288
Do I understand your issue correctly when I say that the eye tracking working when you run it from the editor, but not when you make a build?
Patrik07/08/2015 at 15:13 #3290
Yes Patrik, exactly.07/08/2015 at 15:34 #3291
Hello again Max,
Make sure that
Tobii.EyeX.Client.Net20.dllhas been copied to the root of the build (where the built executable reside).
EDIT Jenny [Tobii] 07 Feb 2017: Above info is not correct. Only the Client dll should end up in the root, the managed Net20 dll ends up in the Managed folder in a standalone build. See post #6306 below for more info.07/08/2015 at 15:53 #3293
The .Net20.dll is missing, but the .client.dll is there.
how do I add it? can i simply copy it from the folder in the unity project? or do I need to have it added automaticly when I build?
the .Net.dll is in my Assets/Plugins/x86_64
and the .Xml is there aswell07/08/2015 at 15:56 #3294
Ok, that’s the problem.
You can copy the file from the Unity project. Make sure to use the one in
x86if your build is targeting x86 architecture and use the one in
x86_64if your build is targeting x64 architecture.
Patrik07/08/2015 at 16:20 #3295
thanks for the quick replies! I’ll give this a try in a while and get back to you with the results.
/M12/08/2015 at 18:59 #3310
got it working.
we were using the wrong build architecture, the eyeX framework was working all along, though the client.net20.dll was not in the build root (though it still works)
thanks for the help!
We’re back on track!05/02/2017 at 21:22 #6305LauraParticipant
Hello everyone and sorry for reopen a thread but I really lost.
I took part in last Global Game Jam and use the Tobii eyetracker for development and in the build phase before submitting we found the eyetracker didn’t work with the executable.
Since, the team continue the development to show the game in a fair I would like to ask for a step by step guide for building.
I develop in a Windows 10, with Unity 5.4.
The build target is set to x86 and the .dll files are at the same level and folder of the .exe
And stil it didn’t work.
Any advice? missing step or something? I’m quite desperate u.u06/02/2017 at 12:24 #6306Jenny [Tobii]Participant
Do you still have access to the GGJ17 Slack #tobii channel? There are some pinned post about troubleshooting builds with illustrative images.
Here are some key points for building standalone:
1. Make sure that the dll import settings are correct: In the Unity Editor, in the Project window, navigate to Assets/Tobii/Plugins/x86. Click on the Tobii.EyeX.Client.Net20.dll and verify in the Inspector that the Windows ‘x86’ and ‘Any Platform’ checkboxes are checked (and no other checkboxes). Navigate to Assets/Tobii/Plugins/x86_64, click the Tobii.EyeX.Client.Net20.dll and verify in the Inspector that the Windows ‘x86_64’ and ‘Any Platform’ checkboxes are checked.
2. In the resulting game build, the Tobii.EyeX.Client.dll (of the correct bitness) should end up in the same folder as the .exe file. The Tobii.EyeX.Client.Net20.dll (of the correct bitness) should end up in the
3. To be able to run the standalone build on a computer that is not a developer machine, in addition to the Tobii client dll’s, you need to make sure the Visual C++ Redistributable Package for Visual Studio 2012 (v110) is included in your game build. For a x86 build you need the x86 redist, and for a x86_64 build you need the x86_64 redist (the Tobii client dll’s depend on these redists). You can download an installer from Microsoft (linked page does not work well with Chrome, use another web browser): Visual C++ Redistributable for Visual Studio 201206/02/2017 at 21:13 #630707/02/2017 at 09:25 #630914/05/2021 at 00:07 #20381JulianParticipant
Hi! Sorry for reopening this thread but I have the same issue as detailed above! I am working in Windows 10 with Unity 2019.4.10f1.
Assets\Tobii\Plugins, I have four files:
I tried downloading
Tobii.EyeX.Client.Net20.dlland moved it into the Plugins folder, and changed the settings, but the build still didn’t work.
In the resulting game build, in the
Datafolder, I have
Plugins\x86\, and the only thing in the folder is
Any thoughts on how to figure this problem out?14/05/2021 at 15:58 #20388Grant [Tobii]Keymaster14/05/2021 at 19:39 #20389JulianParticipant
Thank you for your quick reply! I have followed the “Getting Started” guide on Unity. I even tried just building the demo scenes, but the gaze component of those demo scenes also don’t work after the build. In addition, all the builds are OK — there are no errors in the console.
- You must be logged in to reply to this topic.