Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.42k forks source link

can't join the room and is thrown from the room if the internet connection is not stable #4840

Open ghofur135 opened 2 years ago

ghofur135 commented 2 years ago

Description i am using mozilla hubs with latest version of mozilla hubs service. I have failed when using an internet connection that is less stable, and if using an internet connection below 10mbps. actually i am using 2 mbps connection. when accessing the url, the loading display waits very long. when it made it to the room. suddenly I left the room alone.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://hubs.mozilla.com/qAxP4d5/jealous-tart-sphere
  2. waiting loading screen until show dialog for join room
  3. In case still on loading screen
  4. other case when success enter room, suddenly exit room without any confirmation

Expected behavior when using an unstable internet connection, an alert may appear before suddenly leaving the room. notify the user that the internet connection is unstable resulting in a disconnection Screenshots some screnshots attached image.png image.png Hardware

┆Issue is synchronized with this Jira Task

yakyouk commented 2 years ago

For slow connections, the room entry timeout may kick in even though the scene is still actively downloading. There should be extra checks that things are still actively fetching before the timeout kicks in.

Exairnous commented 1 year ago

I just experienced this myself (stuck on the loading screen forever because the scene load timed out) at last week's Friday meetup. Interestingly, once the scene was changed to a lighter scene the new (lighter) scene started loading and I was able to complete the entry flow. I don't think I've encountered this error when already in a room and the scene is changed, so I wonder if a possible workaround to this problem could be to switch to a lighter scene if someone reports a problem loading and then once they're in the room, switch back to the heavier scene?