- Home /
Missing Material in AssetBundle Prefab
Hey there,
I built an AssetBundle of a prefab. There are no problems with the main gameobject, but if I download that AssetBundle to instantiate the gameobject, within the child object "InvisibleCollider" the material is missing. I set all references in the inspector, and clicked on "Build AssetBundle From Selection - Track dependencies" and uploaded it. If I drag the prefab in my scene, it works very well, with all materials. I also tried to put the required files in the resources folder. (see picture) The picture contains the necessary info i think.
"Imageshack AssetBundle Fail Picture"
Any Ideas please? Greetings
Answer by Baroni · May 19, 2011 at 11:21 PM
Don't know why, the AssetBundle is the same, but this problem is fixed now. On instantiation it loads correct with the right material. Weird.
Answer by J3-Gaming · Sep 14, 2011 at 09:46 PM
What was the solution? I am currently having this problem.
There is no solution. I tried it few months later and the problem was gone. I think that has something to do with nested prefabs...weird...
For me, the problem is only happening on Android. I didn't even nest any prefabs, I just have a few all split up into different packages
Answer by daisuke.sato · Mar 12, 2012 at 01:36 PM
I have encountered the same problem too. And it was solved. For next someone, I'll write. You should check if a shader is supported, or if graphics level in player setting of andoird. (etc OpenGL ES 1.*)
Thanks.
Your answer
Follow this Question
Related Questions
Solution to MissingReferenceException w/ prefab? 1 Answer
Accessing prefab data before instantiation breaks prefab? 3 Answers
Create an AssetBundle with prefabs containing imported models 0 Answers
Assetbundle materials? 1 Answer
Prefab Materials and Meshes being deleted, How can I stop this 1 Answer