Skip to content

3D Model from assets loads in local host but not server hosting service #68

@jtargete

Description

@jtargete

Describe the bug
3D model from assets folder loads in local host but when I deploy app into firebase hosting service the 3d model does not load. and instead I get a blank screen

To reproduce
Steps to reproduce the behavior:

  1. Go to example code from model viewer repository
  2. Type flutter build web in terminal or cmd prompt
  3. Type firebase deploy in cmd prompt
  4. go to site see error or blank screen

Expected behavior
I expect for the model to appear on the hosting site the same way it does on local host

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [MACOS]
  • Browser [Chrome]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions