Search Unity

URP Textures forced in build

Discussion in 'Universal Render Pipeline' started by DudoTheStampede, Nov 12, 2020.

  1. DudoTheStampede

    DudoTheStampede

    Joined:
    Mar 16, 2015
    Posts:
    81
    Hi all!

    It's a long time I noticed this issues (or I think it is) while building with URP.
    Reading the Editor.log after the build I see a lot of textures in the build that I actually don't use.
    Is there a way to get rid of them? Maybe they are in the build because of some wrong settings on my end?
    I'm using Unity 2019.4.14 and building for WebGL (but I saw the same error building for another target).

    Some of the thing that are included in my build:
    There are also a lot of "Packages/com.unity.render-pipelines.core/Runtime/Debugging/Prefabs/*" and "Packages/com.unity.render-pipelines.universal/Textures/BlueNoise16/*" things.

    Can I do something to get rid of that?

    Thanks and have a nice day! ^_^
     
  2. xgonzal2

    xgonzal2

    Joined:
    Jul 3, 2012
    Posts:
    62
    Not sure if Unity ever added the checkbox to remove the post processing textures, like they promised a while back, but you can check the last post from this thread and see what some people have done to reduce build size.
     
    _geo__ and DudoTheStampede like this.