Build failed with errors. at UnityEditor.BuildPlayer+Default buildMethods how to resolve it ?
I get this error in the end. Please help.
UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors.
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:162
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:83
UnityEditor.HostView:OnGUI()
Answer by Freestackmejai · Jul 31, 2017 at 12:37 PM
Got the same issue. I "Fixed it" by building in a pro version.
Please let me know if you solve this !
Answer by Camilohoyos16 · Jul 31, 2017 at 08:13 PM
I had the same error and I avoided it generating all lightmaps again (of each scene). I don't know if this is the certain solution, but you can try it and see.
Answer by xysverma · Aug 06, 2017 at 07:21 PM
I additionally check details on the issue and it was due to one of the "aar" files in android. A contsnat declared in aar file R.string.myconstant was not found. I updated the aar file and it fixed the issue.
Answer by FerdinandBuagas · Oct 09, 2017 at 02:09 PM
Remove the same old files on your PLUGINS folder in your assets.