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

Choosing a custom avatar URL causes the 2D UI to crash #6128

Closed
Exairnous opened this issue Jun 21, 2023 · 1 comment
Closed

Choosing a custom avatar URL causes the 2D UI to crash #6128

Exairnous opened this issue Jun 21, 2023 · 1 comment
Labels
bug needs triage For bugs that have not yet been assigned a fix priority

Comments

@Exairnous
Copy link
Contributor

Description
When you go to choose an avatar and click on "Avatar GLB URL" the Hubs 2D UI crashes.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the "More" menu and choose "Change Name & Avatar".
  2. Click on "Change Avatar".
  3. Click on "Avatar GLB URL" in the top right-hand corner.
  4. Observe the Hubs 2D UI go white and an error is printed in the browser console (see below).

Expected behavior
You should be able to input a custom URL to use for your avatar without crashing the 2D UI.

Hardware

  • Device: Laptop
  • OS: Linux
  • Browser: Chromium

Additional context
Error message:

react-dom.production.min.js:189 TypeError: t.split is not a function
    at m (index.esm.mjs:69:33)
    at Fe (index.esm.mjs:1915:21)
    at ou (react-dom.production.min.js:244:482)
    at ku (react-dom.production.min.js:263:46)
    at wu (react-dom.production.min.js:260:446)
    at bu (react-dom.production.min.js:259:431)
    at react-dom.production.min.js:283:96
    at _s (react-dom.production.min.js:281:398)
    at ss (react-dom.production.min.js:273:439)
    at Ba (react-dom.production.min.js:127:105)
dl @ react-dom.production.min.js:189
n.callback @ react-dom.production.min.js:189
Ao @ react-dom.production.min.js:144
ku @ react-dom.production.min.js:262
wu @ react-dom.production.min.js:260
bu @ react-dom.production.min.js:259
(anonymous) @ react-dom.production.min.js:283
_s @ react-dom.production.min.js:281
ss @ react-dom.production.min.js:273
Ba @ react-dom.production.min.js:127
(anonymous) @ react-dom.production.min.js:267
23:43:31.075 react-dom.production.min.js:127 Uncaught TypeError: t.split is not a function
    at m (index.esm.mjs:69:33)
    at Fe (index.esm.mjs:1915:21)
    at ou (react-dom.production.min.js:244:482)
    at ku (react-dom.production.min.js:263:46)
    at wu (react-dom.production.min.js:260:446)
    at bu (react-dom.production.min.js:259:431)
    at react-dom.production.min.js:283:96
    at _s (react-dom.production.min.js:281:398)
    at ss (react-dom.production.min.js:273:439)
    at Ba (react-dom.production.min.js:127:105)
@Exairnous Exairnous added bug needs triage For bugs that have not yet been assigned a fix priority labels Jun 21, 2023
@keianhzo
Copy link
Contributor

Fixed by #6135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage For bugs that have not yet been assigned a fix priority
Projects
None yet
Development

No branches or pull requests

2 participants