- Home /
 
Application.LoadLevel doesn't load Custom Package in the EXE
Hi there!
My game uses the custom package Tobii EyeX in Unity 5. I get input from an eye controller and I use the data to change the color of a box when the player looks at it. I use this feature in all of my levels and it works perfectly fine in the editor. The problem occurs when I try to access the level with Application.LoadLevel in the .exe application. It seems like I’m not getting any data from the eye controller anymore. Are there any known problems with custom packages in conjunction with Application.LoadLevel?
Thanks in advance
If you call Application.LoadLevel all objects and scripts from the old scene get unloaded. (unless the have called DontDestroyOnLoad, in that they survive) Check the Log file of your build in order to find out whats going on.
Your answer
 
             Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Keeping Unity Focused 0 Answers
How to put specific shapes/textures instead of generating colors (C#) 1 Answer
C# Custom (slower) Update function? 5 Answers