I’m porting my game which is running fine in android, ios when I run it on windows phone it is giving a stack overflow exception just as the initial screen loads(after the splash screen).
An unhandled exception of type ‘System.StackOverflowException’ occurred in Assembly-CSharp.DLL
when i traced i noticed that after the OnGUI() call it loses control.
The controls enters into non user code.
Thank you in advance.