Hi all,
I have just discovered a bug in Maya 2023.3 in regards to the error: " Invalid file type specified: FBX export" which might also be causing this error.
In Maya "Windows > Settings/Preferences > Preferences" in the "File/Projects" category:
Changing the "File Dialog > Dialog Style" option between
"OS Native" and
"Maya Default" has additional unforeseen consequences.
When saving a Maya Scene with a Referenced Fbx file using
"OS Native" this will result in the following Maya command:
- "file -rdi 1 -ns "testFile" -rfn "testFileRN" -typ "Fbx" "C:/testFile.fbx";"
When saving a Maya Scene with a Referenced Fbx file using
"Maya Default" this will result in the following Maya command:
- "file -rdi 1 -ns "testFile" -rfn "testFileRN" -typ "FBX export" "C:/testFile.fbx";"The difference is in the "
-typ" argument for the reference node, this is passed by the File Dialog which will use it's File Type Extension. Windows will pass:
"Fbx", Maya will pass:
"FBX export". Now while this is weird, it's not necessarily a problem.
The problem arises when using the
"OS Native" Dialog Style and opening a file saved with
"Maya Default". For whatever reason this seems to initialize the same Fbx Importer plugin but it no longer recognizes references of type
"FBX export" resulting in the error:
- "Invalid file type specified: FBX export"When using the
"Maya Default" Maya seems able to read references of both types:
"Fbx",
"FBX export", however sometimes the user is not able to use
"Maya Default" due to severe performance issues.
Resetting a user's preferences does reset to
"Maya Default" resolving the issues. The issue will return when switching back to
"Maya Default" . I really hope Autodesk will enable the importer to read
"FBX export" when using the
"OS Native" Dialog Style.
As a workaround you would be able to switch to
"Maya Default" Dialog Style in the
"SceneOpened" callback, then switching back to
"OS Native" Dialog Style in the
"PostSceneRead" call back if the user was using
"OS Native".Enjoy!