google-ar / sceneform-android-sdk

Sceneform SDK for Android
https://developers.google.com/sceneform/develop/
Apache License 2.0
1.23k stars 604 forks source link

New version of sceneform does not support previous converted SFB #922

Open sergeevsnaappy opened 4 years ago

sergeevsnaappy commented 4 years ago

Hi! We are using sceneform for our mobile app. Currently we have 500+ 3D assets in GLTF format both animated and non animated. Since GLTH animation is not currently supported we are converting these assets to SFB to work on Android.

We faced a major issue that after each update of Sceneform all previous SFB models are not supported. Here is an error description: 019-11-11 11:48:17.834 8406-8406/com.snaappy E/Filament: Panic in filament::Material *filament::Material::Builder::build(filament::Engine &):86 reason: Material version mismatch. Expected 3 but received 1. 2019-11-11 11:48:17.836 8406-8406/com.snaappy A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 8406 (com.snaappy), pid 8406 (com.snaappy)

Is there any compatibility of SFB files with newer version of the engine? How should we address this issue - there is no chance we can handle regular conversion of several hundreds 3D assets.

agGitHub commented 4 years ago

Did you find any solution to this problem ? Seems that I have got a similar issue. Thanks.

sergeevsnaappy commented 4 years ago

The only solution is to reconvert all the models on the newer version on sceneform. Which takes too much time to be honest