Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Stripping unused Universal render pipeline shaders and textures on iOS build

Discussion in 'Universal Render Pipeline' started by lostminds, Dec 3, 2019.

  1. bigbrainz

    bigbrainz

    Joined:
    Jul 21, 2015
    Posts:
    177
    @BomBasta, That works for me! Great find--THANK YOU! (I had tried just deleting them, so this is a genius workaround!)
     
  2. unity_9460FB1EA99EC1823D00

    unity_9460FB1EA99EC1823D00

    Joined:
    Aug 3, 2021
    Posts:
    12
    It did not work in my case. I'm using unity 2020.3.28f1 and don't want to add post-processing in my URP project. but includes upbershader and some texture in build size
     
  3. belenkoks

    belenkoks

    Joined:
    Sep 21, 2013
    Posts:
    6
    I figure it out:
    If you not using post-process just disable it: upload_2022-5-30_11-19-39.png

    no need any scripts etc..
     
  4. vizgl

    vizgl

    Joined:
    Nov 4, 2014
    Posts:
    61
    I am using Unity 2020.3.42 and there is only 10.10.1 version of the URP, so I don't have option to disable Post-processing :(
     
  5. Alvarden

    Alvarden

    Joined:
    Feb 22, 2019
    Posts:
    60
    Yup, that pretty much solves the issue, at least on the latest versions.
     
  6. kreso

    kreso

    Joined:
    Sep 7, 2013
    Posts:
    145
    I am using Unity 2023.2.7f1 and URP 16.05
    Post processing is turned off.
    I tested WebGL and Mac build, too many unneeded files included (see included screenshot).
    Filed a bug [IN-67331].
     

    Attached Files:

    KamilCSPS likes this.