Jump to content

[SOLVED] FBX importer fails when object name contains multiple colons


photo

Recommended Posts

If an object name in an FBX file is something like Base:Stuff:ObjectName then the importer tool will fail the entire file. 

 

The issue is that the importer will try to create a directory called "Base:Stuff" and put "ObjectName" in to it.

 

Since Windows paths cannot contain colons this fails.

 

 

You need to sanitize your inputs before using them to make directories.

Link to comment
  • 4 weeks later...

 

Thank you for this information! This issue is already exist in our internal bug tracker. Unfortunately, we can't give you any ETA when it will be fixed. We will keep you updated.

 

Thanks for the update.

 

This is having quite a large effect on our Unigine project, because Autodesk Motion Builder uses colons to separate namespaces so content creation is now very difficult.

 

Can you please update me as soon as you know when there will be an ETA as this is very important to us.

Link to comment

Hi Angus,
 
Sorry for the late reply. We managed to fix this issue, so you need to update one file:

  • <SDK>/data/core/editor/plugins/import/autodesk.cpp

In attachment you can find pathched autodesk.cpp from March SDK release.

 

If you are using beta April SDK you need to change line 746 in autodesk.cpp to the following one:

string name = path + "meshes/" + prefix + re_replace(import.getMeshName(mesh),"[<>:\"/\\|?*]",""); 

autodesk_march_fix.zip

  • Like 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...