I've generated this COLLADA file: http://ix.io/1kEL

When importing to Blender, it says "Couldn't find a material by UID." 3 times, and I don't understand why. It doesn't show any other errors, but fails to import the model.


closed as off-topic by Duarte Farrajota Ramos, batFINGER, Scott Milner, aliasguru, Denis Aug 28 '18 at 17:43

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is too localized in its current form and is unlikely to be applicable outside of a very narrow context. Consider broadening the scope of this question in order to make it more useful for future users of the site." – Duarte Farrajota Ramos, batFINGER, Scott Milner, aliasguru, Denis
If this question can be reworded to fit the rules in the help center, please edit the question.


When you say you generated this collada file, I am assuming your writing the script/program that generated it.

Within the library_visual_scenes you need a node surrounding the instance_geometry to define and position the object using the mesh.

<node id="Gem" name="Gem" type="NODE">
  <matrix sid="transform">0.92 -0.03 0.37 -0.38 0.14 0.95 -0.26 0.28 -0.34 0.29 0.89 0.64 0 0 0 1</matrix>
  <instance_geometry url="#Body__Mt_Body-mesh" name="Gem">
        <instance_material symbol="Mt_Body-material" target="#Mt_Body-material"/>
  • $\begingroup$ Yes, I'm writing the script that generates it. Adding a node gets the model to appear, but the error is still output. $\endgroup$ – Rena Aug 23 '18 at 3:22
  • 1
    $\begingroup$ I would suggest setting up the object with materials in blender and exporting from there, compare blenders export to yours. Also are the image textures in the textures folder with the dae file? $\endgroup$ – sambler Aug 23 '18 at 9:24
  • $\begingroup$ yes that is correct there is one minor modification to the script that I would make, change "transform" to "transformation" $\endgroup$ – joejoejoebob0 Aug 24 '18 at 0:27
  • $\begingroup$ Thanks for the idea to compare Blender's export. The textures are present. The error is still appearing, but the materials do seem to be getting imported, so I don't know what's causing it, but maybe it doesn't matter. $\endgroup$ – Rena Aug 25 '18 at 18:05
  • $\begingroup$ @Rena Just looking at an export myself, blender doesn't put the textures folder name in the image paths, maybe the folder name is implied. $\endgroup$ – sambler Aug 26 '18 at 2:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.