vircadia / vircadia-web

Vircadia open source metaverse web interface for virtual worlds.
https://app.vircadia.com
Other
63 stars 53 forks source link

"Teleporting" to a new domain or manually entering URL does not remove current environment #199

Open Aitolda opened 1 year ago

Aitolda commented 1 year ago

If you try to manually change the URL both your current environment and the one you teleport two will layer on top of each other.

For example, If you are at app.vircadia.com/#/antares.digisomni.com and swap the url for app.vircadia.com/#/nautatuma.vircadia.com the content of antares will persist when the content of nautatuma loads. Creating an inworld teleport yields the same results.

digisomni commented 1 year ago

Ah so the rabbit hole goes deeper. It would seem that between disconnects that the entities are not cleared fully. Does this still happen with master?

Aitolda commented 1 year ago

Ah so the rabbit hole goes deeper. It would seem that between disconnects that the entities are not cleared fully. Does this still happen with master?

Yes. However, it might actually somehow be reloading the world again before it moves to the next. It looks very much like when you first go to a domain and it loads, then kicks you back to the loading screen and loads again. That is to say when you try to go to another environment, it seems like it does the same thing BEFORE you leave. Appears to reload just before it moves to the next server. Granted appearance can be deceptive. I have no idea what's happening under the hood there.