Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Addressables - reasonable fix

Discussion in '2018.3 Beta' started by Hostur, Oct 12, 2018.

  1. Hostur

    Hostur

    Joined:
    Jul 6, 2015
    Posts:
    60
    Hi,
    There is an issue with bundle system in Unity:
    As you know, if there is an asset with the material packed in bundle, and shader used by this material is not packed in dependency bundle than each bundle with material referenced to this shader will copy this shader instance.

    Problem can be easly solved by creating other bundle with shaders but..
    If material uses standard unity shader, this shader is not packed in bundle, so each bundle that contains any material that uses standard shader will copy this standard shader and increase ShaderLab.

    Solution is easy, if user have any bundle that point a standard asset than standard asset should be build into separated (unity internal) bundle to avoid duplications.
    Please consider to resolve this in addressables and let us avoid "hacking" this system.
     
  2. Hostur

    Hostur

    Joined:
    Jul 6, 2015
    Posts:
    60
    I'm not sure that is an issue because I don't see shader lab in 2018.3.0b5.
    Anyone can tall me what shader lab is? In profiler (2017) memory snapshot I'm able to see shader in assets and shaderlab in others but there is no more shader lab position in current version.
     
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Could you please submit a bug report with minimal reproduction steps and possibly a reproduction project for this issue?