简体   繁体   English

Unity:需要帮助在运行时从 android 目标导出 FBX model

[英]Unity: need help exporting FBX model from android target at runtime

I have been working on a runtime FBX exporter for unity.我一直在开发一个运行时 FBX 导出器以实现统一。 It uses the Autodesk FBX SDK, which asks for you to have RUNTIME_FBX in the scripting define symbols of the project in order to be built and ran on a target.它使用 Autodesk FBX SDK,它要求您在脚本中定义项目符号的 RUNTIME_FBX,以便在目标上构建和运行。

I have this defined in the the settings and it works with a desktop build.我在设置中定义了这个,它适用于桌面版本。 But once I switch the target to android (for VR), the build fails because it no longer can recognize classes from the Autodesk FBX SDK library.但是,一旦我将目标切换到 android(用于 VR),构建就会失败,因为它不再能够识别 Autodesk FBX SDK 库中的类。

Has anyone ran into problems with this or no what to do to get the library detected?有没有人遇到过这个问题或者没有怎么做才能检测到图书馆?

Or if this is somehow not possible, is there a recommended format for exporting at runtime on android from a unity app?或者,如果这在某种程度上不可能,是否有推荐的格式在运行时从统一应用程序导出 android?

FBX file format is not public, only with fbx sdk could be read. FBX 文件格式不公开,只能用 fbx sdk 读取。 Unity 3D also uses fbx sdk. Unity 3D 也使用 fbx sdk。 According to this : 据此

Unfortunately there are no plans to port the FBX SDK to work on Android at this time.

So Unity3D can not support fbx on Android.所以 Unity3D 不能在 Android 上支持 fbx。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM