Search Unity

Internal shader error on Sprites-Default after loading twice

Discussion in 'Addressables' started by CDF, Aug 16, 2019.

  1. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,311
    Using 1.1.7

    So this just started happening for some reason.
    • I have 2 levels, levels are addressable and also made up of segments that are addressable (they all exist under a folder marked addressable)
    • levels contain various objects, sprites, models which reference various materials etc. These are not explicitly set as addressable though. And don't think I need to? How would I set Sprites-Default as addressable?
    • loading first level: save level handle and instantiate manually. Graphics loaded correctly, no missing shaders
    • complete level, unload handle, load next level
    • internal shader errors on Sprites-Default material, lots of objects show up as pink
    addressable_shader_error.png
    addressable_shader_error_debug.png

    How can I determine what's causing this? Why is the shader suddenly missing after unloading then loading again
     
    Last edited: Aug 16, 2019
  2. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053