Please help me, I’m trying to get a stable build onto an android device and its just throwing this error every time. I can build to PC just fine, it has no issue, and I’ve already stripped out a few packages that other posts said would be conflicting but I still get this same error.
UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00234] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:191
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor .BuildOptions defaultBuildOptions) [0x0007f] in
C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:97
UnityEngine.GUIUtility:processEvent(Int32, IntPtr)```
Update: Turns out it was Build and Run that Unity was having an issue with.
When I opted to just Build it on its own it worked just fine. Very strange...