Home › Forums › Software Development › Problems with unity 5 eyex › Reply To: Problems with unity 5 eyex
17/02/2016 at 07:49 #4456
Participant
Unity 5.3.2p3 / TobiiEyeXSdk-Unity-1.6.477
So, I made a really nasty workaround to this issue. I am not sure what is causing it, whether the OnApplicationFocus callback is being called in between scenes or there is an issue elsewhere. The following code allows for scene changes to not affect tracking.
private void OnLevelWasLoaded(int level)
{
EyeXHost.GetInstance().OnApplicationFocus(true);
}