- Home /
COLLADA import with textures
It looks like collada files are supported by drag and drop import's, but although textures are converted to materials they do not show up on the mesh..
Is there a way to have collada files imported with textures intact?
The images are stored in a folder called TEXTURES in the project panel. The dae references them like this:
<image id="file-027_RUW" name="file-027_RUW"> <init_from>TEXTURES/TERRAIN/STANDARD/DAY/BUILDINGS/027_RUW.PNG </image>
Answer by Jeff-Kesselman · Feb 09, 2012 at 09:44 PM
i find my collada imports fine IF I import the textures first.
then your texture files become part of the unity file system.. not sure how the file references still hold. do you have to still manually drag and drop the textures on materials in unity?
It works.
Im not 100% sure how but my guess is that the Collada importer is intelligently finding then in the resource base by name.
Answer by DaveA · Sep 17, 2011 at 07:18 AM
Are you sure all the files are in the correct place(s)? I've not had any such problems.
Files are all in correct places, except there are many subfolders
Well, actually I believe the files are all in correct places, but not sure if Unity is reading the relative file paths... See update above
Answer by sketchers1 · Sep 17, 2011 at 03:31 PM
I used to have this same Problem. I never found a straight way to fix it, so now I import the Collada File into Blender. You then export that as an AutoDesk(fbx) file.
When Importing it into Unity:
Drag The texture folder for your Collada file into Unity.
Drag the FBX file into Unity
It is imperative that you do it in this order.... It works 95% of the time for me. Every so often it assigns the wrong texture to the object but that is very rare.
when's the 5% that it fails? :-\ are you using blender/unity on windows or mac?
I dont know.. Sometimes it just randomly fails.. and I am using mac, but i have tried it on windows and that works also