Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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

I´ve got the same same error. But still didn´t find any solution. I beleive it is a bug to be fixed. Going back to Unity 5.6.3.

7 Replies

· Add your reply
  • Sort: 
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 this 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

This worked for me but what I recommend is if your project is not that huge just try to make a new project and never put anything related to scripts before you make a backup.

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 think you haven't is related to something very very silly.... Saving the built to assets folder.... That's very bad for scripts (Have you....?)

The second one, which is what I think 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

What makes you think he's building for Android? The JD$$anonymous$$ is only needed / used by the Android SD$$anonymous$$. Any other build target doesn't require any JD$$anonymous$$ to be installed. We can't deter$$anonymous$$e what's his target platform from the provided information. So too much guess-work involved here.

ps: The OP joined UnityAnswers on "Jul 14" and he hasn't been online since then. So it's unlikely to get any response.

avatar image tanoshimi Bunny83 · Jul 24, 2017 at 12:24 PM 0
Share

@Bunny83 - July 14 was only 10 days ago...

avatar image AntonioBejar Bunny83 · Jul 24, 2017 at 02:17 PM 1
Share

You're right! The only 100% thing is that It's me the only guy working on Android.

So, to be a good problem solver, Id do better saying 'if you're building for Android', then my post can help.

This happens when one find the problem after some hours... and gets very happy ;-)

Cheers.

avatar image silviateona · Aug 07, 2017 at 04:54 AM 0
Share

Updating to JD$$anonymous$$ 1.8 from 1.7 (don't forget to also select the new version in Unity Preferences/External Tools for Android) helped me too. Thanks for the tip, Antonio!

avatar image
0

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

I am having this issue as well with no fix in sight... Can you expound on this 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

Just like I said, I don't know why I saw a relation with a render and unity exposed a message where you can see an incompatibility lightmaps, so I just generated all lightmaps again and the problem just dissapeared.

avatar image emathew · Aug 16, 2017 at 07:01 PM 0
Share

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!

avatar image
0

Answer by mackens85 · Oct 01, 2017 at 10:13 AM

try this. http://answers.unity3d.com/questions/1380921/build-failed-with-errors-at-unityeditorbuildplayer.html?childToView=1414536#answer-1414536

hope this 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
avatar image
0

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

I just clicked on "Reimport all assets". Then everything 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
  • 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.

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

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

Exception: Deployment failed. Output: 4 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