- Home /
Question by
evanfell2005 · Jan 17, 2021 at 01:45 AM ·
build-errorexecutable
What causes this error? It happens every time I try to build
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ca] in <1e441e8684a14fe4b8f8a926d91afc3a>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <1e441e8684a14fe4b8f8a926d91afc3a>:0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Comment
I also just started experiencing this. Are you using Unity 2020.2.1f1?
Yeah, I am using 2020.2.1f1 but I'm using Windows and I don't have any IOS references in my project so I have no idea what the issue could be.
For me, one of my files as a stray reference to UnityEditor.iOS. I removed that an it started working again
Your answer
Follow this Question
Related Questions
Building My Project Opens a CMD-Like Application? 1 Answer
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
How can I stop the variable values reverting to its default values after being built? 1 Answer
Someone in 2022 is having trouble with unity build and your anitvirus? 1 Answer
exe Unable to Run 1 Answer