UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors .how fix ?
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0020e] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:181 at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:88 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
I am having the same issue, while trying out Vuforia. I get the same error message with 2017.2+Vuforia 6.5 and 2017.3+Vuforia 7. (Only the cs:181 & cs:88 change to cs:172 & cs:83)
Answer by fahadasghar360_unity · Dec 26, 2019 at 08:50 AM
To solve this problem follow these instructions: 1) Go to Unity Hub -> Installs->Settings (Click on the three dots on the versions)->Add Modules 2)Tick the Android Build Support, Android SDK &NDK, and Open JDK. 3)Click Done. 4)When It is installed Go to Unity and try rendering the game again.
I hope It will work as it works for me.
Sorry for asking after a long time, but I have downloaded the android sdk and jdk, but it still shows UnityEditor.Build$$anonymous$$ethodException : 283 errors.
Answer by ultragamingnow_ · Dec 30, 2018 at 08:05 PM
@crackyourspeakers I had the same problem and solved it by building my game in a different location.
$$anonymous$$ay I ask what steps you took to solve it. I'm having this problem too.
Answer by jjasl777222 · Aug 26, 2021 at 04:46 PM
What worked for me was to first build it as a development build and then do the real one.,What worked for me was to first build it as a development build and then do the real build.
Answer by RobinopdeBeek · Jan 18, 2018 at 02:04 PM
Managed to solve my build problem by downgrading the SDK. This guy gives a good step by step with links: https://answers.unity.com/answers/1326427/view.html After that I also had to downgrade JDK from 9 to 8. Hope it helps!
Thats for android man, this question is for windows
Answer by amandazeved0 · Feb 19, 2021 at 09:23 PM
I tried several methods to solve it and my solution was to remove the comma in the project folder name. So my tip is to see if there is no different character or accentuation in the project name.