Importer 'FbxImporter' had unexpected failure!

hi,everyone.I use windows 10,visual studio 2019 and monogame 3.8,i create a simple project and it can run successful,but when i add one fbx model into the project,it can not run anymore,and it give me some info like these:


1>F:/MonoGameTest/Game2/Game2/Game2/Content/cube.fbx : error : Importer ‘FbxImporter’ had unexpected failure!
> 1>Assimp.AssimpException: Error importing file: FBX-Parser unexpected end of file
1> at Assimp.AssimpContext.ImportFile(String file, PostProcessSteps postProcessFlags)
1> at Microsoft.Xna.Framework.Content.Pipeline.OpenAssetImporter.Import(String filename, ContentImporterContext context) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\OpenAssetImporter.cs:line 291
1> at Microsoft.Xna.Framework.Content.Pipeline.FbxImporter.Import(String filename, ContentImporterContext context) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\FbxImporter.cs:line 24
1> at Microsoft.Xna.Framework.Content.Pipeline.ContentImporter`1.Microsoft.Xna.Framework.Content.Pipeline.IContentImporter.Import(String filename, ContentImporterContext context) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\ContentImporter.cs:line 45
1> at MonoGame.Framework.Content.Pipeline.Builder.PipelineManager.ProcessContent(PipelineBuildEvent pipelineEvent) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\Builder\PipelineManager.cs:line 669
1>C:\Users\admin.nuget\packages\monogame.content.builder.task\\build\MonoGame.Content.Builder.Task.targets(138,5): error MSB3073: “dotnet C:\Users\admin.nuget\packages\monogame.content.builder.task\\build\…\tools\netcoreapp3.1\any\mgcb.dll /quiet /@:“F:\MonoGameTest\Game2\Game2\Game2\Content\Content.mgcb” /platform:DesktopGL /outputDir:“F:/MonoGameTest/Game2/Game2/Game2/Content/bin/DesktopGL/Content” /intermediateDir:“F:/MonoGameTest/Game2/Game2/Game2/Content/obj/DesktopGL/Content” /workingDir:“F:/MonoGameTest/Game2/Game2/Game2/Content/””


does anyone has some similar problem? need your help! thank you! :grinning:

Hi @Sakya00 Welcome to the Community!

I don’t think you are supposed to add it in VS as well as the MGC, try removing it from VS.

Happy Coding!

Thank you for your reply!
So where should I add the fbx to?
I try to build the fbx by .mgcb directly,but it show me the same error.

I followed the getting started tutorial, and create and run it successful, so I think the step is right.I doubt the FbxImporter is not in my environment, but I don`t know how to install it manually.
Do you know what is wrong?

Not really, what are you exporting it from?

From the BEPUPhysics demo,it use monogame too. By the way,it try to run the demo from the official samples, it do not work too.[]


The official samples run failure and show error message like this. So whether fbx or texture can`t import in my computer. If i import nothing, it can run successful, so weird !

Have you tried using a different model?

yes,it is the same error.

Are you using a different model from the bepu demos?

Nope, I tried another fbx from the official sample.


I checkout samples here, and find one fbx profile to try.

does something wrong?

Perhaps try a model from somewhere else or make one?

I just tried one fbx model from another game asest, the model can import successful into Unity for test.when I add it to .mgcb and build,it dose not work.

OK, hopefully someone with some experience can chime in soon.

Good luck!

BTW, do you know where the FBXImporter is?

Not something I can help with at present.

Thanks for actually bringing this up. I don’t want to do anything stupid myself with foreign importers rn except for what MG Pipeline tool actually supports.