Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Standard Shader loading issue with AssetBundles

Discussion in 'Unity 5 Pre-order Beta' started by Xaurrien, Nov 13, 2014.

  1. Xaurrien

    Xaurrien

    Joined:
    Jul 2, 2012
    Posts:
    20
    Hello,

    This is what I am experiencing when I am trying to load a GameObject from an AssetBundle :
    visual differences.png
    Every material loaded from AssetBundle have dark specular and no reflexion...

    And the inspector looks like this :

    inspector.png

    It looks like the material isn't correctly loaded...

    Any idea to fix this ?
     
  2. Xaurrien

    Xaurrien

    Joined:
    Jul 2, 2012
    Posts:
    20
    Ok I have found the solution!

    My bundles were built with the target WebGL. So when I build my application in WebGL it works fine.

    But when I hit "Play" in the editor I still get black materials. I guess the editor is not fully compatible with WebGL AssetBundles.