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.

Does Stripping remove unused assets?

Discussion in 'iOS and tvOS' started by dijital, Nov 9, 2012.

  1. dijital

    dijital

    Joined:
    Apr 28, 2010
    Posts:
    232
    Hi

    The explination for 'stripping' in the unity 3d help is :

    "Options to strip out scripting features to reduce built player size"

    To me that sounds like "scans the scripts for unused functions and disables them"

    But, does it strip out unused textures/sounds?

    Thanks in advance!
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,334
    No, it doesn't. Unity always leaves out unused assets when making a build for any platform, unless they are in the Resources folder (since it's not really possible for Unity to know what you're doing with Resources.Load). Note that it says "strip out scripting features". It doesn't really scan scripts for unused functions; read this: http://docs.unity3d.com/Documentation/Manual/iphone-playerSizeOptimization.html

    --Eric
     
  3. dijital

    dijital

    Joined:
    Apr 28, 2010
    Posts:
    232
    Thanks for the info!
     
unityunity