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 /
  • Help Room /
avatar image
4
Question by Brutalize1337 · Aug 16, 2017 at 05:29 AM · build

Build failed with Errors Please Help!

Hello guys!

my game fails to build with the following errors:

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()

Can anyone help me please! Thanks a lot !!

Comment
Add comment · Show 2
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 UDN_4fd102c0-955a-4f79-81d9-38c9f1e9bfd8 · Mar 17, 2018 at 12:58 AM 0
Share

The solution is simple, just install JD$$anonymous$$ 1.8 ins$$anonymous$$d of 1.9 and it works

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

Solve Immediately ! Click Here

12 Replies

· Add your reply
  • Sort: 
avatar image
6

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

I just clicked on "Reimport all assets". Then everything was fine.

Comment
Add comment · Show 8 · 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 Desoxi · Oct 12, 2017 at 01:25 PM 1
Share

This helped me too. Using Unity v2017.1.1p3. jdk v1.8.x.

avatar image MrLES · Oct 21, 2017 at 05:27 PM 1
Share

It helped me to. Thanks Ultroman.

avatar image ravi_ng · Oct 23, 2017 at 09:45 AM 1
Share

Great!, it works for me. Thanks a lot!

avatar image caulfield85 · Nov 19, 2017 at 06:38 AM 1
Share

Where is the option to reimport all assets?

avatar image PanzerPotato caulfield85 · Dec 03, 2017 at 09:21 PM 1
Share

Assets > Reimport All

avatar image OnlyHardProjects PanzerPotato · Nov 16, 2018 at 03:19 AM 0
Share

Thenks mate!

avatar image Lightning_A · Jul 05, 2019 at 07:28 PM 0
Share

Didn't work for me :(

avatar image LucasGHL Lightning_A · Nov 04, 2020 at 11:43 AM 0
Share

Same here :((

avatar image
3

Answer by Icyteck01 · Aug 17, 2017 at 05:39 PM

Delete folder .vs and all Microsoft Visual Project file in your "Main Game" Folder Close Unity, restart and rebuild.

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 malon-skola · Feb 05, 2018 at 05:15 PM 0
Share

Putting .vs and these files in main folder somewhere else, starting Unity, failed build, closing Unity and putting the folder .vs and all these files back works for me :). Thanks!

avatar image b_rudo · Apr 13, 2019 at 10:01 PM 0
Share

This method worked for me. Had been scratching my head at this issue for a good while. Thank you.

avatar image
1

Answer by sudhir_kotila · Oct 25, 2017 at 10:50 AM

Just change the location of build(apks) by default it's set Assets folder.

You have to change it either at other folder of make new folder at Assests->Apks.

It's works fine for me. It's strange but works.

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 TBrayner · Mar 10, 2018 at 01:23 PM 0
Share

Could you explain more clearly, I didn't understand what you're saying to do.

avatar image gwnbleidd98 · Jul 03, 2018 at 02:42 PM 0
Share

Yeah his right I try it and it works

avatar image
0

Answer by Prochilles · Sep 01, 2017 at 08:43 PM

Ok finally got mine to work. yay.

The problem for me was the SDK file (I had the same .cs 162 & .cs 83 errors)

First: In Unity : Edit > Preferences > External Tools and click Download. It should take you to: https://developer.android.com/studio/index.html#Other

Second: Download Android Studio NOT just the Sdk at the bottom

Third: After Download go back into unity and click File > Build Settings > Player Settings > 'Other Settings' (in inspector) and set the 'Minimal API level'
to the highest setting 'Android 7.1'Nougat' (API level 25)' and click 'Build & Run' (Not just 'Build')

This build will fail, but the fail pop up box will inform you what your devices API level is.(Mine is 23) Put 'Minimal API level' back to the original setting (Min api level) after you've learned your API level.

Fourth: Start 'Android Studio' and on the bottom right of the main screen click 'Configure' > 'SDK Manager' > 'Appearance & Behavior' tab > 'System Settings' tab click 'Android SDK'

Fifth: Now just Check the box with the 'API level' your device is at and click apply to download. (Remember file path)

Sixth: Once the download is complete go back into Unity: Edit > Preferences > External Tools Beside SDK click browse and link it to the SDK folder of your API level download.
(Example: C:\Users\Anthony\AppData\Local\Android\sdk)

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 Brutalize1337 · Sep 05, 2017 at 02:47 AM 1
Share

Sorry this cant work because im not building api im building a windows client. Still need help with my problem! I need to share my Alpha client but cant because of this Issue!!

avatar image MeTx Brutalize1337 · Apr 01, 2018 at 03:06 PM 0
Share

did you ever find a solution? Im building for windows as well

avatar image
0

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

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

hope that 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
  • 3
  • ›

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

143 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 avatar image avatar image avatar image avatar image 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

Array Index Out of Range Exception after build 0 Answers

UnityLinker.exe did not run properly!Android,UnityLinker.exe did not run properly! 0 Answers

ItextSharp generates pdf file of 0 bytes in PC build. Works in editor. 0 Answers

How to prevent Unity from changing WarningLevel property in .csproj? 0 Answers

Unable to run built VR/XR EXE 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