Sceneform-android-sdk: *.sfb (version 0.52.1) is not loaded by com.google.ar.sceneform.rendering at runtime

Created on 9 Sep 2018  路  3Comments  路  Source: google-ar/sceneform-android-sdk

I converted andy.obj to andy.sfa & andy.sfb using android sceneform beta. At compile time, sfa & sfb's version is 0.52:1. And then I imported it to my apk.
At run time, there's an exception about rendering it such as

"com.google.ar.sceneform.rendering.RendercoreBundle$VersionException: Rendercore bundle (.rcb) version not supported, max version supported is 0.51.X. Version requested for loading is 0.52.1"

There's also same exception when I modified sfa's version from 0.52:1 to 0.51:1 and re-build *.sfb.

How can I fix it?

bug

Most helpful comment

I have the same problem. Same versions in the error message.
sceneform plugin v1.4 beta. Android Studion 3.1.4
Does it depend on the ARCore version installed on the phone? Or some target platform settings?
My current ARCore v1.4.180716096. Seems the latest one on Google Play.

UPDATE:
These two lines in the gradle dependencies fixed my problem:

dependencies {
   ...
    implementation 'com.google.ar:core:1.4.0'
    implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.4.0'
}

All 3 comments

Hi @Brian-Kwon - apologies for the problems coupled with slow response.

  • A note that changing the version in the sfa doesn't affect the version stamped into the sfb; the version of the android studio plugin determines that. Since you're asset is 0.52.x, that means your sfb generation must be on sceneform v1.4.
  • Given the report that you're attempting to load a 0.52.x asset into a 0.51.x runtime, that strongly implies the runtime is still using sceneform v1.3.

Is it possible that your project has multiple build.gradle files which request different versions of sceneform? I could imagine this happening if e.g. sfb files were built in a different sub-project using the 1.4 plugin, and the app was still using 1.3

I have the same problem. Same versions in the error message.
sceneform plugin v1.4 beta. Android Studion 3.1.4
Does it depend on the ARCore version installed on the phone? Or some target platform settings?
My current ARCore v1.4.180716096. Seems the latest one on Google Play.

UPDATE:
These two lines in the gradle dependencies fixed my problem:

dependencies {
   ...
    implementation 'com.google.ar:core:1.4.0'
    implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.4.0'
}

I had the same problem com.google.ar.sceneform.rendering.RendercoreBundle$VersionException:Rendercore bundle(.rcb)version not supported, max version supported is 0.52.X version requested for loading 0.54.2

changed the
classpath 'com.google.ar.sceneform:plugin:1.7.0'
to
classpath 'com.google.ar.sceneform:plugin:1.5.0'
and the problem was solved

UPDATE:
This line in the build.gradle(Project) in dependencies

`
dependencies {

    classpath 'com.android.tools.build:gradle:3.1.4'
    classpath 'com.google.ar.sceneform:plugin:1.5.0'

}
`

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kunal-wayfair picture kunal-wayfair  路  3Comments

khonakr picture khonakr  路  3Comments

JessHolle picture JessHolle  路  3Comments

yashvv picture yashvv  路  3Comments

chiaolinghong3d picture chiaolinghong3d  路  3Comments