Search Unity

What is 'Development Build' in Build Settings useful for?

Discussion in 'iOS and tvOS' started by eco_bach, Mar 21, 2017.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Ok so 'Script Debugging' 'AutoConnect Profiler' are all self explanatory, but what does enabling 'Development Build' in Build Settings do?
     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,732
    You can use Unity profiler, developer console is on, stuff that is only useful in development of the game.
     
  3. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    Can you explain what this is please?
     
  4. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    Also, it allows you to use DEVELOPMENT_BUILD

    Code (CSharp):
    1. #if DEVELOPMENT_BUILD
    2. // do something here
    3. #endif
     
  5. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,732
    Not all platforms use this, but in general when some error is written to log, in development build it shows up in your game as red text with Clear/Close buttons along side.
     
  6. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    I've never ever seen this. I guess iOS doesn't use this.
     
  7. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,305
    all platforms use it
    or, at least, used to
    @superpig was asking some time ago on the twitter whether he can nuke this out of existence, outcome is unknown