Home › Forums › Software Development › EyeX for Unity cannot build in Mono › Reply To: EyeX for Unity cannot build in Mono
29/05/2014 at 16:47 #1071
Guillaume
Participant
Hey Anders,
Thanks a lot for your quick answer. Very clear, it solved most of it. I still had one error : “\UnitySamples\Assets\Scripts\EyeX\EyeXHost.cs(17,17): Error CS1501: No overload for method ‘Shutdown’ takes ‘0’ arguments (CS1501) (Assembly-CSharp-vs)”
I deactivated the following part in the code and it works but I guess it’s not a very safe option :
if (_context != null)
{
// attempt to shut down the context nicely before disposing it.
try
{
_context.Shutdown();
}
catch (InteractionApiException ex)
{
print(“EyeX context shutdown failed: ” + ex.Message);
}
_context.Dispose();
_context = null;
}