-
Notifications
You must be signed in to change notification settings - Fork 186
Open
Description
On the Android platform, when loading models using
final carModelUri = "asset://assets/sportcar.glb";
the car model is not loaded. Upon compiling an APK of the example app and using the Android Studio APK Analyzer, I discovered that Flutter was bundling the assets under flutter_assets/assets/ instead of the assets/ folder. I then replaced the path in my code as
final carModelUri = "asset://flutter_assets/assets/sportcar.glb";
and the car did indeed load. I believe this either needs to be mentioned in the Example for loading 3D Models or the library should intrinsically handle adding flutter_assets to path when loading assets on Android
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels