I had a model with armature and 3 different materials. Different polygons of same geometry using different materials is possible in Blender but not in Away so I split the model by the materials so now I have 3 parts each having it’s own material. I exported all as a Collada file.
Loader3D along with DAEParser loads the parts and their respective materials/textures fine. However there’s no animation and animator property is null. Using ASSET_COMPLETE events and assetType values, I can see each mesh triggering a seperate skeleton, animation node and animation set assets so I’m pushing them into arrays. I also create seperate animators from these assets, play the animation and assign them to their respective meshes.
If I assign only 1 animator at a time, I can see that they work. However when I assign them all in a loop like “meshes[_n].animator = animators[_n];” I get the error.
“A Material instance cannot be shared across renderables with different animator libraries”
What is the meaning of this? Each model has it’s own material and each material uses a different texture image so how can there be any kind of material sharing?