Materials with built-in shaders from assetbundle objects not assigned

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?

1 Answer

1

This might be, because shaders are packaged with the asset bundles.

Check this link for more details: http://forum.unity3d.com/threads/144014-Custom-Shaders-and-Asset-Bundles-on-iOS