• 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
3
Question by ikaru19 · Jul 14, 2017 at 03:28 AM · error messageerror build

Failling to build

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 1
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 apotengy · Aug 01, 2017 at 09:09 PM 0
Share

7 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by AntonioBejar · Jul 24, 2017 at 11:20 AM

Hi.

i had the same problem. In fact I had two problems I finlally could solve very easilly.

The first one I had, I t$$anonymous$$nk you haven't is related to somet$$anonymous$$ng very very silly.... Saving the built to assets folder.... That's very bad for scripts (Have you....?)

The second one, w$$anonymous$$ch is what I t$$anonymous$$nk is happening to you is related to JDK version.... Take a look at Main Menu -> Edit -> Preferences. Now go to External Tools.....

What JDK version do you have??? Maybe 1.7..... Try updating to 1.8.... That worked for me.

Good luck!

Comment
Add comment · Show 4 · 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 Bunny83 · Jul 24, 2017 at 11:59 AM 0
Share
avatar image tanoshimi Bunny83 · Jul 24, 2017 at 12:24 PM 0
Share
avatar image AntonioBejar Bunny83 · Jul 24, 2017 at 02:17 PM 1
Share
avatar image silviateona · Aug 07, 2017 at 04:54 AM 0
Share
avatar image
1

Answer by Camilohoyos16 · Jul 31, 2017 at 08:15 PM

I had the same error and I avoided it generating all lightmaps again (of each scene). I don't know if t$$anonymous$$s is the certain solution, but you can try it and see.

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 MrProcessor · Nov 27, 2018 at 09:02 PM 0
Share
avatar image
0

Answer by emathew · Aug 16, 2017 at 04:28 PM

I am having t$$anonymous$$s issue as well with no fix in sight... Can you expound on t$$anonymous$$s lighmaps fix? @Camilohoyos16

Hey, I actually found a solution that worked for me... I had imported demos from some of the unity assets in my project, and those scripts were interfering with the build!

Comment
Add comment · Show 2 · 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 Camilohoyos16 · Aug 16, 2017 at 04:40 PM 0
Share
avatar image emathew · Aug 16, 2017 at 07:01 PM 0
Share
avatar image
0

Answer by Ultroman · Sep 09, 2017 at 10:16 PM

I just clicked on "Reimport all assets". Then everyt$$anonymous$$ng was fine.

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 mackens85 · Oct 01, 2017 at 10:13 AM

try t$$anonymous$$s. http://answers.unity3d.com/questions/1380921/build-failed-with-errors-at-unityeditorbuildplayer.html?c$$anonymous$$ldToView=1414536#answer-1414536

hope t$$anonymous$$s helps.

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
  • 1
  • 2
  • ›

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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

83 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

Related Questions

error CS1061: 'QuestionData' does not contain a definition for 'textoDaPergunta' and no accessible extension method 'textoDaPergunta' accepting a first argument of type 'QuestionData' could be found 2 Answers

Weird Error message with empty projects 0 Answers

error CS0111: Type 'PlayerController' already defines a member called 'Update' with the same parameter types 1 Answer

Error building Player because scripts had compiler errors,Error building Player because scripts had compiler errors even though there are no errors visible 0 Answers

¿Por qué ya no puedo compilar libil2cpp?... error. 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