Skip to content
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

Error when importing GLB scenes via Admin Panel and opening them in Spoke as new projects #1302

Open
redp1ll opened this issue Oct 29, 2024 · 1 comment

Comments

@redp1ll
Copy link

redp1ll commented Oct 29, 2024

Describe the bug
When a GLB scene is imported via the Admin Panel and subsequently selected as a new project in Spoke, an error occurs. This error happens because GLB scenes, when imported in this way, aren't supported as editable projects in Spoke. This can be misleading to users who attempt to remix these scenes and encounter an error without a clear explanation.

To Reproduce
Steps to reproduce the behavior:

  1. Import a GLB scene using a scene link via the Admin Panel.
  2. Go to Spoke and select "New Project."
  3. Attempt to open the imported GLB scene as a project.
  4. Observe the error that appears.

Expected behavior
Either:
GLB scenes imported via the Admin Panel should not appear in the "New Project" selection screen in Spoke if they cannot be remixed.
Or:
A clearer error message should appear, explaining that GLB scenes imported through the Admin Panel cannot be opened as editable projects.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 130.0.6723.69/70 / 22 October 2024
@Exairnous
Copy link
Contributor

Text versions of the Spoke dialog error for both Chrome and Firefox, to improve the discoverability of this bug.

Chrome:
Unexpected token '<', "<!DOCTYPE "... is not valid JSON

Firefox:
JSON.parse: unexpected character at line 1 column 1 of the JSON data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants