-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hello 👋
I'm trying to open the GLTF from app's local assets and I'm getting such error message:
Bad state: Cannot use origin without a scheme:
Similar error was reported on February (link).
It looks like the issue in the ModelViewerState, available in the model_viewer_mobile. When handling GLTF files the code calls url.origin
, which by documentation is throwing exception when the scheme not equals http://
or https://
. So when you are trying to load the model from assets (which has scheme assets://
) or file (scheme == file://
) then the load ends with error.
Metadata
Metadata
Assignees
Labels
No labels