Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Materials with built-in shaders from assetbundle objects not assigned

Discussion in 'Editor & General Support' started by Asse83, Nov 27, 2013.

  1. Asse83

    Asse83

    Joined:
    Aug 1, 2009
    Posts:
    169
    Hey folks,

    I recently updated from 4.1.2 to 4.3 and have a strange problem.

    I export several objects as assetbundle and all objects that use built-in shaders (e.g. Unlit/Texture) appear to not have a material assigned. As if it wasn't exported within the AssetBundle.

    Now I've noticed the new project settings 'Graphics' where you can select several shaders that should always be included. Adding the shaders fixes the problem. But is this really the desired approach? Do I have to add every built-in shader that's used within an assetbundle?