How do you open a file on your desktop and import a file (e.g .fbx) within the game? As in, once the app is already made

Importing assets is a design time feature that is currently only available in the Editor, which handles such operations through import factories. If you wanted to make this functionality available at runtime, you would have to include it in your game code, but that is currently against the EULA, which does not permit the inclusion of Developer and Editor modules in games.

If you’re curious, the FBX related factories are in FbxFactory.cpp, and the actual import code is declared in FbxImporter.h

Despite the fact that you cannot legally use this code in your game, also keep in mind that it possibly wouldn’t work as intended anyway. When the Editor packages a game, the content residing in your asset packages is transformed into a representation optimized for runtime performance. We call this process Content Cooking.

If you just want to import FBX files into memory at runtime and use them inside the game, your best bet would be to look at the existing importer code and implement your custom solution based on that. As far as I know, we currently have no plans for supporting importing (or exporting) game content at runtime.

If we develop a custom fbx importing solution would that conflict with the EULA? Thanks!

No, that would be fine. The EULA restriction I mentioned is in terms of including modules from the Developer and Editor folders in games, which is currently not permitted. Only modules from the Runtime folder may be shipped with a game.

Keep in mind that the FBX format is quite complicated, and we still find bugs in the importer, occasionally. If you create your own importer from our code you may want to keep an eye on future changes and fixes.

Thanks for your response! We appreciate the timely answer!

When you say plugin does this include the final game? Can we include this custom code for the fbx import in the final game?

I clarified with our Legal team and updated my comment above. You cannot ship any code from any of our Developer or Editor modules at this time, sorry.

You can write your own import code and include it with the game. I hope that makes sense.