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.41k forks source link

When Fast Room Switching enabled, user takes their spawned away and back, media frames state stays "used" #5729

Open mauriciomartinez-itesm opened 2 years ago

mauriciomartinez-itesm commented 2 years ago

Description Whenever you use Fast Room Switching, objects go away and come back in unexpected ways; sometimes they disappear, other times they disappear and then reappear, some other times, they disappear and media frames will be unusable until that person refreshes the site.

To Reproduce Steps to reproduce the behavior:

  1. Enable fast room switching!!!
  2. Go to This sample scene with two different accounts, A and B
  3. With A, use the media frames on the wall with the spawners
  4. With A, exit the room with the link at the door
  5. With B, see how sometimes objects appear and disappear
  6. With B, exit and enter the scene via Fast Room Switching again
  7. See weird object permanence results and "used media frames" with no media

Expected behavior Added objects, Media Frame states, and marker writings should go away with the person leaving the room through fast room switching and not come back.

Screenshots Media frame seems to be used, but nothing is there Media Frame Unavailable

Two browsers, same scene, objects not showing in one of them Media Frame Not Synced

Hardware Firefox 105.0 Chrome 105.0.5195.127 Screen Mode Windows 10 and 11 Computers

matthewbcool commented 1 year ago

Thanks so much for writing this issue up @mauriciomartinez-itesm 🙂