I’m using a SDK for Tobii eyetrackers(I’m using the TX300 model for development). I’ve got the SDK working in unity with a little test project running that connects to the eyetracker and instantiates spheres as I close my left eye.
The problem is after running once and stopping if I touch the unity window again it crashes and I have to close it from task manager. I thought the problem might be 2 objects that deal with finding the tracker and storing the tracker itself not being disposed of properly but it still crashed after putting the 2 functions below in the OnApplicationQuit function.
I might contact Tobii themselves as well as they have a sample video of a game running in unity with one of their eyetrackers but no code/tips on unity specifically.
_browser.Stop();
if(_tracker != null)
{
_tracker.Dispose();
}