Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Unused files and folders included in build

Discussion in 'Editor & General Support' started by Schizoid2k, Jun 22, 2018.

  1. Schizoid2k

    Schizoid2k

    Joined:
    May 6, 2015
    Posts:
    37
    I noticed that my iOS build a kind of huge, so looking at the logs, I see that there are a lot of files that are included that I just do not use in my project... primarily from assets imported from the Asset Store. Some examples are:


    1.0 mb 0.2% Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF.asset
    1.0 mb 0.2% Assets/TextMesh Pro/Examples/Resources/Fonts & Materials/Roboto-Bold SDF.asset
    0.1 kb 0.0% Assets/TextMesh Pro/Examples/Scripts/VertexColorCycler.cs

    5.7 kb 0.0% Packages/com.unity.package-manager-ui/Editor/Resources/Images/Light/btnOn@2x.png
    5.7 kb 0.0% Packages/com.unity.package-manager-ui/Editor/Resources/Images/Light/btn@2x.png

    0.1 kb 0.0% Assets/Fingers/Prefab/Script/FingersScript.cs
    0.1 kb 0.0% Assets/Fingers/Demo/DemoScriptSwipe.cs
    0.1 kb 0.0% Assets/Fingers/Demo/DemoScriptPan.cs


    Why would Demo scenes, examples, and scripts I do not use be packaged?
    Is there any way to prevent this?

    Thanks,
    --john
     
  2. Schizoid2k

    Schizoid2k

    Joined:
    May 6, 2015
    Posts:
    37
    Anyone have an ideas why these (and other) files are making it into my iOS build?
     
unityunity