Using FBX sanitizer to check Sketchup FBX exports before Unity import #3
Replies: 2 comments 1 reply
-
The reason FBX Sanitizer doesn't support ascii files is because the FBX parser it uses fbxcel-dom does not support them. The only implementation of the FBX Ascii format that I'm aware of is the Autodesk FBX SDK itself. We don't use that because:
So for those reasons I used the fbxcel-dom FBX parser instead. It would unfortunately be a massive task to add ASCII support to fbxcel-dom, because it would require reverse-engineering the ascii format (there's no spec that I'm aware of). To give a sense of the difficulty, even major tools like Blender (that have a vested interested in industry support) do not support the FBX Ascii format. My recommendation would be to find a way to convert the files. The FBXConverter tool is old, but still very functional. I use this all the time to convert between ascii and binary. |
Beta Was this translation helpful? Give feedback.
-
I can improve the error message string for ASCII files, if it helps, but since we can't read the ascii files, there's no way to do anything other than exit. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use the FBX sanitizer to check Sketchup FBX exports before I import the FBX file in Unity. Sketchup exports FBX files as ASCII files (not binary). The FBX sanitizer fails as soon as it recognizes that the FBX files is non-binary but ASCII. Do you plan to handle ASCII files as well? It would be great if file format would be handled like any other error and not completely quit the application before showing the real relevant error that I need :-(
Beta Was this translation helpful? Give feedback.
All reactions