Hello! My game contains 3 scenes. Their order is this Intro → Mainmenu → GameScene. When I play from Unity, no error appears and everything works perfectly.
Even in the profiler it doesn’t seem to be over memory or something. If I put the game on the phone, the intro scene and the MainMenu loads, but when I press PLAY and enter the GAMESCENE, the game crashes. I don’t understand why, I disabled all the objects in the hierarchy, removed lightmaps and compiled the game again. Even with the empty stage I still get crashes.
How can I connect the phone to the computer to show me the errors I get when the game crashes on the phone? I don’t know how to connect & check the errors for which I get a crash.
Thank you!
PS: When I use BUILD&RUN the game isn’t opening on my android device. The phone is connected & checked ADB DEVICES, it appears in the window. A ww
I cannot use BUILD & RUN. If I use it the game will be compiled successfully but won’t open on the device ( the adb is connected ). I receive these errors:
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002da] in <d5cfe1b7a8b8455dae78439447671342>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <d5cfe1b7a8b8455dae78439447671342>:0