Search Unity

Unity Cloud Build Developpement/Release

Discussion in 'Unity Build Automation' started by xXApOXx, Jun 12, 2017.

  1. xXApOXx

    xXApOXx

    Joined:
    Feb 9, 2015
    Posts:
    76
    Hi, I tried to manage Developpement/Release build type in a Pre Export function using this code :

    Code (csharp):
    1. EditorUserBuildSettings.allowDebugging = true; //false;
    2. EditorUserBuildSettings.development = true; //false;
    But it doesn't seem to work. So since there is a tweakable in Unity Cloud Service to manage Developpement/Release builds, it is possible skip that tweak by code ?
     
  2. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    On the "Config" tab, for a specific target you can select "Show Advanced Options" then "Edit Advanced Options" and the setting you are looking for is called "Development Builds". Don't think it's possible to change by code since those are options that need to be passed to BuildPipeline.BuildPlayer (which is what changing that setting in config does).
     
  3. xXApOXx

    xXApOXx

    Joined:
    Feb 9, 2015
    Posts:
    76
    Ok, thx for the answer.

    If you plan to let that option manageable by pre export methods, it would be great!