Search Unity

[SOLVED] Nested AssetReference prefabs missing meshes and materials

Discussion in 'Addressables' started by eizenhorn, Apr 12, 2020.

  1. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,685
    [SOLVED] I dumb, sorry, problem was I just forgot remove Addressables.Release which I used for tests in one place :oops:

    Hi! Is there bug with addressables or I'm missing somethitng?
    We have List<AssetReference> which contains simple ScriptableObject
    upload_2020-4-12_17-12-40.png

    which contains couple of string\number fields and AssetReference field with prefab
    upload_2020-4-12_17-12-14.png

    When in editor fast\simulation mode all works fine, but when we build or set addressables loading mode at "Use existing build" all prefabs missing their meshes\materials
    upload_2020-4-12_17-11-15.png

    Addressables should automatically handle materials\meshes\etc. references and include them in build Isn't it? Any suggestions?

    Looking in to analyzer I can see that materials\meshes\etc. should be included in build implicitly, but as you can see above - they don't.
    upload_2020-4-12_17-25-12.png
     
    Last edited: Apr 12, 2020