Question by
foranie · May 13, 2019 at 05:37 AM ·
shaderassetbundlepink
Asset bundle and shader, material,texture problem.(Shaders Are Pink )
Env: Android, Opengles2.0, unity5.6.5
Success
fail
My simple fake shadow shader. define(A)
Material with my shader1 (B)
Material with my shader2 (C)
Texture used by material B and C. Define (D)
Prefab1 has child B. Saved in \RESOURCES\ folder (E)
Prefab2 has child C. Make Assetbundle(F)
(E) is succed. (picture 1)
But, (F) has problem. (picture2)
I think...
shader is loaded, (unlit/fakeshadow) texture is loaded.(like blur ball) but material isn't loaded(material instance value is default value 0/0)
How can I fix that?
success.png
(128.2 kB)
fail.png
(223.1 kB)
Comment