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

FBX -> SFB import crashes Android Studio #732

Open marcspraragen opened 5 years ago

marcspraragen commented 5 years ago

First time on this forum. Let me know if you need more info.

Android Studio 3.1.4 Sceneform 1.9.0 HP Spectre x360 Convertible 15-df0xxx, i7-8565U, 1.99 GHz, 16 GB RAM Windows 10 Home v1809

ARCore APK installed version: 1.9.1? "FINDSTR cannot open packages:versionName"

Output of adb shell pm path com.google.ar.core: package:/data/app/com.google.ar.core-8glIA0aSJHmIjLqt5-FRHA==/base.apk

Output of adb shell getprop ro.build.fingerprint samsung/dream2qltesq/dream2qltesq:9/PPR1.180610.011/G955USQU5DSD3:user/release-keys

No error message in logcat (!)

THE PROBLEM: when I import an fbx (from maya) into sfa/b files, it shows correctly for 1 second but then Studio shuts down. Gradle sync issue?

RELATED ISSUE ?: Afterwards, even if I delete the sf files so that Studio can even run, the "viewer" tool window remembers their animation names for some reason, and I have no idea how to clear that. Attached screenshot shows blank "Viewer" tool window, with deleted model's animation name "stand" showing in dropdown:

screen

marcspraragen commented 5 years ago

Update: I imported the file with no animations and Studio still crashed when I used the Viewer.

aurangzaibumer777 commented 5 years ago

this is a sceneform plugin issue, do not open the viewer. to visualize your 3D Model, use the windows viewer to visualize your exported model in fbx

marcspraragen commented 5 years ago

Good to know, thanks. My imported animations aren't working and it's hard to debug without some clue as to the validity of the sfb at compile time.

aurangzaibumer777 commented 5 years ago

it is indeed hard to validate but right now it is the only way to keep your studio running without facing any crash because it is seriously a pain when you are working on AR and building/compiling alot of 3D models by every hour.

mkubdev commented 4 years ago

This issue still bugging... Everytime im trying to add a .obj to ScenForm, Android Studio still crashing...

TinyBuster1 commented 4 years ago

same here, sceneform 1.13, android studio 3.5.3 whenever i try to import sceneform asset model, it doesnt create textures.fbm folder and also android studio crashes, also when i press sfb file its again crashes.