Search Unity

Rendered to Pink When Loading From Asset Bundle

Discussion in 'Asset Bundles' started by Ali_Akbar_Montazeri, Aug 6, 2019.

  1. Ali_Akbar_Montazeri

    Ali_Akbar_Montazeri

    Joined:
    Dec 6, 2014
    Posts:
    179
    Hi, I just did a simple test to load a scene from an asset bundle. Basically what I did is building asset bundle > uploaded them to the firebase storage > download them > and load a scene. But strangely the loaded scene becomes pink like in the picture below.

    The loaded scene contains default game objects like camera and directional light without any script included.
    Any help will be appreciated. Thanks !
     
  2. Ali_Akbar_Montazeri

    Ali_Akbar_Montazeri

    Joined:
    Dec 6, 2014
    Posts:
    179
    Seems like the editor can't load the shader from the asset bundle. I tried building it to android and it's just fine.
    I hope Unity would be able to fix this in the future.
     
  3. RDeluxe

    RDeluxe

    Joined:
    Sep 29, 2013
    Posts:
    88