Home Forums Software Development Unity 5 – build problems Reply To: Unity 5 – build problems

#6306
Jenny [Tobii]
Participant

Hi @lauralaureus,

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 [build-folder]\[game-build-name]_Data\Managed folder.

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 2012