• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
7
Question by DexterDear · Jul 18, 2017 at 08:16 PM · android buildbuild errorbuildplayer

Build failed with errors. at UnityEditor.BuildPlayer+Default buildMethods how to resolve it ?

I am following Building Unity game for an Android device for the testing tutorial I have followed all the instruction but I am getting this error in the end. from this link https://unity3d.com/learn/tutorials/topics/mobile-touch/building-your-unity-game-android-device-testing

UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors. at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:162 at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83 UnityEditor.HostView:OnGUI()

Comment
Add comment · Show 5
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JanNafta · Jul 19, 2017 at 04:41 PM 0
Share

I have the same error, I installed Unity 2017.1 and configured Android. I have a simple project, but when I build for android I get this error: "UnityEditor.BuildPlayerWindow+Build$$anonymous$$ethodException: Build failed with errors."

avatar image miteshvasundhara · Jul 29, 2017 at 11:13 AM 0
Share

I also get this error with unity editor 2017.1.0f3

avatar image martenq · Aug 01, 2017 at 02:43 PM 0
Share

I had the same issue. I closed the complier (VS 2017) and then when I wanted to build the project, I changed the folder.

avatar image visionman50 · Dec 25, 2018 at 10:38 AM 0
Share

hi, well only got this error. how to fix, got the latest unity 2018.2.18 64 bit pro. driving me nuts, and don't know why this is doing it. did find the strange character and now, don't get this error. pasting below. able to help. please e-mail me via startrekcafe@gmail.com for help. how to fix. pasting below. driving me nuts and never seen this error before. that's prenpreventing me from building. help! Build completed with a result of 'Failed' UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

avatar image threeCore03 · Jan 04, 2020 at 03:49 PM 0
Share

Solve Immediately Click Here

41 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by NextUnity · Jul 23, 2017 at 06:43 AM

If you track the error that bring you to UnityEngineInternal.APIUpdaterRuntimeServices.AddComponent deprecated method.

comment out it then try. hope this will helpful.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Ki4Chan · Jul 29, 2017 at 05:29 PM

I had selected "strip assemblies" in player settings and I was getting this error and APK was not building. But when I disabled stripping The APK is building but still getting this error message in console. anyone knows why?

EDIT: I was making for Android. After updating Android SDK I didn't get any error. So if you are making for android make sure Android SDK and JDK are updated.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Freestackmejai · Jul 31, 2017 at 12:36 PM

Got the same issue. I "Fixed it" by building in a pro version.

Please let me know if you solve this in personnal mode!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Camilohoyos16 · Jul 31, 2017 at 08:12 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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by J_LTD · Aug 03, 2017 at 08:41 AM

Try to install the latest version of build tools, that fixed the problem for me.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image oguzhantopsakal · Dec 30, 2017 at 12:45 PM 0
Share

This worked for me! Thanks. I was using $$anonymous$$AC. I updated to the latest Android SD$$anonymous$$ using Android Studio. This problem happened after I upgraded Unity to version 2017.x

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

127 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Android build gradle failed 1 Answer

Command-line build for Android strips out used assets like png 2 Answers

GoogleVR - Cardboard + Android build error 1 Answer

[ERROR ][Android Build] [5.3.4] Not able to build 1 Answer

Android Build Failure - Failed to recompile android resource files. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges