-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use origin without a scheme #1
Comments
Please share your file, I will check it. |
Nothing Special. I Got a page with scaffold, and your Widget. O3D( This is the asset of my pubspec: |
Some Glb files are not exported correctly by their creators, so I'm going to get your file to test it, but it seems to have an error in release mode, I'll fix that. Please test it in debug mode and let me know. |
I got the same error with the Astonaut.glb file. Anyway the error Is catched only on Android. In Web mode it works fine....
Il mer 15 nov 2023, 17:20 Babak Gahremanzadeh ***@***.***> ha
scritto:
… Some Glb files are not exported correctly by their creators, so I'm going
to get your file to test it, but it seems to have an error in release mode,
I'll fix that. Please test it in debug mode and let me know.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4FULXGYIBX6OL5HVXNF6LYETTTXAVCNFSM6AAAAAA7MN5OYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJSHA2DQMJTGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Probably, You don't add clear text traffic in the Android manifest. Put this code |
Yes, i put it in manifest: android:usesCleartextTraffic="true" |
Dear @antogalli, I've addressed the Android and web release bugs and would appreciate it if you could review the updated version of the O3D package. For a thorough check on the Android platform, please test it on a real device. |
I'm trying it now. I don't receive the error anymore, but the model is not renderized if present in Assets. Works only on remote GLB. Tested in Debug Mode Android APILEVEL 33 |
Loading the GLB from asset folder i cant view on Android Build:
Loading like this:
O3D(
src: 'assets/3d/refix_spray_ORBIT_cam.glb',
controller: o3dcontroller,
ar: false,
autoPlay: true,
autoRotate: true,
),
E/flutter ( 2836): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: Cannot use origin without a scheme: assets/3d/refix_spray_ORBIT_cam.glb
ModelViewerState._initProxy. package:model_viewer_plus/src/model_viewer_plus_mobile.dart:289
The text was updated successfully, but these errors were encountered: