title: ARCore Generate 3D object from URL and augment image
body: <p>I'm having problem generating 3D object from URL using the following code, it's giving me an error which i'm not sure what it is. It will be awesome if anyone can point out what is wrong with the code</p>
  
  <p>I followed tutorial from Google: <a href="https://developers.google.com/ar/develop/java/sceneform/create-renderables" rel="nofollow noreferrer">https://developers.google.com/ar/develop/java/sceneform/create-renderables</a>. But have to modify a bit because of syntax error. </p>
  
  <p>(1)The following code is supposed to generate the 3D object from URL - ASSET_URL (i have tested this URL which works). </p>
  
  <pre><code>    private AugmentedImage image;
      private CompletableFuture&lt;ModelRenderable&gt; modelRenderable;
  
          modelRenderable =
                  ModelRenderable.builder()
                  .setSource(context, RenderableSource.builder().setSource(
                          context,
                          Uri.parse(ASSET_URL),
                          RenderableSource.SourceType.GLTF2)
                          .setScale(0.5f)  // Scale the original model to 50%.
                          .setRecenterMode(RenderableSource.RecenterMode.ROOT)
                          .build())
                  .setRegistryId(ASSET_URL)
                  .build();
  </code></pre>
  
  <p>(2) The following code is to place the 3D object on the image:</p>
  
  <pre><code>        if(!modelRenderable.isDone()){
              CompletableFuture.allOf(modelRenderable)
                      .thenAccept((Void aVoid) -&gt; setImage(image))
                      .exceptionally(
                              throwable -&gt; {
                                  Log.e(TAG, "Exception loading", throwable);
                                  return null;
                              }
                      );
              return;
          }
  </code></pre>
  
  <p>(3)The following code (which i modified from sceneform sample augmentedImage) generate 3D object from static local asset which works with code (2)</p>
  
  <pre><code>//        modelRenderable = ModelRenderable.builder()
  //                .setSource(context,Uri.parse("SubstanceMiku.sfb"))
  //                .build();
  </code></pre>
  
  <p>Error that i'm getting</p>
  
  <pre><code>E/Filament: Panic
      in filament::Material *filament::Material::Builder::build(filament::Engine &amp;):85
      reason: Material version mismatch. Expected 2 but received 1.
  A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 16333 (tapp.cloudimage), pid 16333 (tapp.cloudimage)
  I/native: tracking.cc:3027 no history. confidence : 1.0
  I/native: tracking.cc:3027 no history. confidence : 1.0
  I/native: motion_analysis_calculator.cc:611 Analyzed frame 101
  Application terminated.
  </code></pre>