I’m trying to deploy my game to my Nexus 6 to test it. However whenever I press ‘Build’ or ‘Build and Run’, it gets to ‘Compiling Scripts’, then the window closes and nothing happens.
I’ve looked into it, but this isn’t an issue with Unity freezing, it just won’t compile.
Check the editor’s console. It’s probably a conditional compilation or API difference generating an error in your scripts. It may also be a plugin that you’re using but doesn’t include an Android version. Note that when compiling for the actual device, the UNITY_EDITOR symbol is not defined.