Linking FBX SDK in UE4 packaged build (≥4.21)

Unreal Engine 4.21 ships with version 2018.1.1 of Autodesk’s FBXSDK. It’s used when importing or exporting FBX 3D data into your project using Unreal Editor. Sometimes it may be necessary to load or save 3D meshes at runtime. It’s mostly pretty straight forward to integrate third-party software into your packaged builds, but linking with the shipping FBX tends to be a bit more involved.

The shipped version of the SDK coming along with UE4 is located under in form of an engine module. Adding the dependency is usually done in the build script, e.g. in for your module, either statically via or respectivlyor to link dynamically.

This works well for editor builds, but when packaging your project with stock 4.21 obtained through the launcher, you’re presented with a slue of errors. If you try to link statically, you are likely to encounter ‘ ’. This is caused by the module’s build script trying to pull in ‘ (for static linking), which is not included in the third party distribution. Introduced with 4.21, there is however a prebuilt DLL packaged with the engine.

If you try to build your module by linking dynamically via adding the dependency to , you’ll likely encounter ‘ ‘.

I ended up adding the library dependency manually. For this I created the necessary path, library and symbol names with these properties in :

And then pulling in the dependency differentiated on whether it’s an editor build or packaged build.



Today’s impossible, will be tomorrow’s reality.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store