Hi, I have an issue with Unity FBX Exporter, I want to use the runtime export FBX model for my WebGL build. but I’m facing a problem with the building. I have also defined a symbol “FBXSDK_RUNTIME” to use the runtime library. but when I try to build the following errors come up. HELP ME!
It’s not compatible with WebGL Runtime. The manual states:
Do you have any idea how to export in WebGL?
Well, the FBX format is a quite complex and partly proprietary which makes it really difficult to use without the SDK provided by Autodesk. Unless you find an alternative implementation that supports the features that you need that is 100% managed and doesn’t have any external dependencies, you just won’t have much success here.
Alternatives would be to either use a different format, preferably an open format where open implementations exist, or if you really need FBX files, you would need some conversion service on your server that your webgl build can send the data to and have it convert / generate the FBX file for you.
So this boils down to your requirements, limitations and compromises you can make. If it’s just about exporting a model, using OBJ is probably the simplest solution. Of course OBJ has several limitations. An FBX file could represent very simple and basic data or contain more complex information like animations, skeletons / rigs, skinning information, material information, etc.
No but you can try your luck searching for an exporter. It needn’t be FBX since the 3d model formats are largely interchangeable.
Keep in mind though that the more difficult part is saving the file, since WebGL has no access to the user’s file system. You would have to upload the file to a server or use a platform-specific hack that lets the user save the file to a location and name the user is free to choose via a dialog.
