Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Enable development build via script

Discussion in 'Unity Cloud Build' started by nickfourtimes, Jan 11, 2019.

  1. nickfourtimes

    nickfourtimes

    Joined:
    Oct 13, 2010
    Posts:
    101
    I know there's an option in the UCB web interface to enable Development builds; however, is this possible via scripting as well, during one of the pre-build methods for instance?

    There's BuildOptions.Development, but to my knowledge this has to be passed directly into the BuildPipeline.BuildPlayer() call, which is not accessible to us in UCB.
     
  2. Adrian

    Adrian

    Joined:
    Apr 5, 2008
    Posts:
    309
    technicat, victorw and nickfourtimes like this.
  3. nickfourtimes

    nickfourtimes

    Joined:
    Oct 13, 2010
    Posts:
    101
    Hm... I've tried setting this to true in my cloud build pre-build script, and when I print out the content of EditorUserBuildSettings.development it does show "True"; however, the resulting .apk is still not showing the "Development Build" watermark on-device.