Search code examples
javaandroidandroid-studiosceneform

Android Studio : how to copy/paste a .sfb file from one project to another?


I have got a project (implementing Sceneform) that contain sfb files in the raw folder.

I want to copy/past these sfb files to another project. But when I paste them, the content is no more readable even if the file is ok in the 3D preview window.

How to copy/paste a .sfb file from one project to another ?


Solution

  • Ok, found the solution. You have to create a sampledata folder like explained here: https://developers.google.com/ar/develop/java/sceneform/import-assets

    And copy/paste also all your sfa, fbx, bin, etc.. files here.

    And then the text in the sfb file will become readable.