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

unity2017beta b1~b3~ b4~b5~b6 build andriod apk error . but unity 2017 b2 is fine ,why ? please help

Discussion in '2017.1 Beta' started by yangjianhui8, May 20, 2017.

  1. yangjianhui8

    yangjianhui8

    Joined:
    Nov 28, 2014
    Posts:
    19
    Steps

    1. Create new project
    2. create object to scene and saved
    3. Build apk


    Not reproducible:
    unity 5.6f3
    2017.1.0b2

    Reproduced with:
    2017.1.0b1
    2017.1.0b3
    2017.1.0b4
    2017.1.0b5
    2017.1.0b6
    errors like this.
    all the same:
    How to fix?

    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()
     
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,106
  3. yangjianhui8

    yangjianhui8

    Joined:
    Nov 28, 2014
    Posts:
    19
  4. Evaldas_Unity

    Evaldas_Unity

    Unity Technologies

    Joined:
    Jun 23, 2016
    Posts:
    69
  5. yangjianhui8

    yangjianhui8

    Joined:
    Nov 28, 2014
    Posts:
    19
    thanks for you reply:)!.i am sure to select the correct path when building apk .but just 2017.1.0b2 is working.form b3 to b6 both errors.waiting for 2017.1.0b7...
     
  6. yangjianhui8

    yangjianhui8

    Joined:
    Nov 28, 2014
    Posts:
    19
    thanks,Evaldas

    I've got it

    it-should take care:
    1."1"or "2" ... numbers .can not be scene name!
    2.add open scenes before build.
    3.building .apk in Assets folder outside.
    that it!
    I'm sorry for my mistake ;)and thanks your help! and hope unity 2017 More and more cool!
     
    Last edited: May 25, 2017