Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

UnityEditor.BuildPlayerWindow+BuildMethodException: when building Unity project for iOS

Discussion in 'Editor & General Support' started by nowletsstart, Aug 29, 2017.

  1. nowletsstart

    nowletsstart

    Joined:
    Jan 1, 2016
    Posts:
    78
    I am using Unity 2017.1.Op4 and I keep getting the following error when building the project for iOS:

    Code (CSharp):
    1. UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors.
    2. at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:162
    3. at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:83
    4. UnityEditor.HostView:OnGUI()
    The build folder is also empty. After making a Google search, a few recommended that I change the Product Name in the Player Settings.

    Another workaround suggested: Clearing all errors and switching inspector to show Camera's components (it doesn't matter as long as it is not Player Settings window).

    From a search, Unity 2017.1.0b10 was recommended, but I am still getting the same issue with it.

    Both suggestions didn't work. How can I resolve this issue?
     
  2. nowletsstart

    nowletsstart

    Joined:
    Jan 1, 2016
    Posts:
    78
    Can some please help me. I've been at this for days
     
  3. daliuzi

    daliuzi

    Joined:
    Nov 24, 2017
    Posts:
    1
    same question !
     
  4. DoitStudioss

    DoitStudioss

    Joined:
    Jan 2, 2017
    Posts:
    2
  5. minhnt0826

    minhnt0826

    Joined:
    Jul 26, 2016
    Posts:
    1
  6. ikpich

    ikpich

    Joined:
    Jan 4, 2017
    Posts:
    1
    I have the same for the HoloLens
     
    viki19191 likes this.
  7. Develid

    Develid

    Joined:
    Mar 13, 2018
    Posts:
    1
    me too
     
  8. Guxin233

    Guxin233

    Joined:
    Jul 31, 2017
    Posts:
    1
    geraldzm likes this.
  9. Squegy

    Squegy

    Joined:
    Aug 24, 2018
    Posts:
    2
    Can someone from the unity team tell us what is going on with the error debug logs
     
  10. myerssk

    myerssk

    Joined:
    Dec 23, 2016
    Posts:
    1
    I am having the same problem with HoloLens. Please help.
     
    viki19191 likes this.
  11. worboyz

    worboyz

    Joined:
    Feb 27, 2014
    Posts:
    2
    Having the same problem also.... I had this issue (or similar) when building apk's for Android several months ago. I eventually found a fix for this, which required downgrading the google SDK build folder in Windows explorer to an older version then it allowed me to build apk's again. Now I am getting this error in PC, MAC & Linux Standalone builds and it seems a common issue! Any idea what causes this? Very frustrating as it was building fine only yesterday but today it won't build.
     
  12. edwardbaoli1

    edwardbaoli1

    Joined:
    Jun 12, 2018
    Posts:
    3
    Me Too,I am doing the UWP APP coding and meet the same problem,but I know that using .NET in place of IL2CPP can let it be published normally, however, this method will be abandoned In the future.
     
  13. unity_a63fVRGtYLWRaw

    unity_a63fVRGtYLWRaw

    Joined:
    Aug 17, 2018
    Posts:
    1
  14. RaventurnStefan

    RaventurnStefan

    Joined:
    Aug 1, 2012
    Posts:
    43
  15. jacasch

    jacasch

    Joined:
    Jan 20, 2017
    Posts:
    16
  16. lejean

    lejean

    Joined:
    Jul 4, 2013
    Posts:
    383
    Had the same error in standalone build.

    Suddenly I can't build my game anymore cause all editor folders get included for some reason (which it should ignore cause they are in separate editor folders)

    I get all errors about "unityeditor namespace can't be found" so I believe it's an error thrown because I created a custom assembly definition for probuilder, navmeshcomponents and textmeshpro, cause they wouldn't work otherwise.

    But I have no clue how to fix this.

    EDIT: Solution was to add empty assembly definitions with only editor unchecked to all folders that give an error
     
    Last edited: Jun 10, 2019
  17. GCI

    GCI

    Joined:
    Oct 9, 2020
    Posts:
    8
    Me too please help
     
  18. AZULIFT

    AZULIFT

    Joined:
    May 18, 2022
    Posts:
    1
    try deleting library in the project files