How to limit VR lag between room switches
When switching rooms there's a significant lag where the vr glasses basically freeze before the new room is loaded. How can this be reduced or is this an error due to my setup? I have pretty much followed the Youtube tutorials available for managing rooms by using asynchronous scene reloading.
6 Replies
Hi @ChangeSide. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. The knowledge sources provided do not contain specific information on how to reduce lag when switching rooms in VR using NormalVR. However, it's worth noting that when the last player leaves a room, the room server will remain running for about 30 seconds before it's shut down. Any objects that are not flagged to destroy will be written to persistent storage and restored instantly when someone joins the room again. This might have an impact on the loading times when switching rooms.
For more detailed information, I would recommend checking the official NormalVR documentation (https://normcore.io/documentation).
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
<@232792986407272448> kapa.ai is still learning and improving, please let us know how it did by reacting below
this isn't a normcore issue but a unity one
Unity
YouTube
Unite 2016 - Tools, Tricks and Technologies for Reaching Stutter Fr...
This talks is for Unity developers who are interested in the performance of continuously loading and unloading game assets during active gameplay without stutters. The developers of award-winning game INSIDE dive into the tools and technologies developed to achieve the above.
Kristian Kjems - Playdead
Erik Rodrigues Pedersen - Playdead
Søren T...
here's a video by Inside on how they made scene loading stutter free
basically you want to avoid unloading the previous scene and spawning all the objects in the next scene at the same time
and splitting up your loading into smaller chunks
but it's a lot easier just to fade to black and then switch scenes so no one can see the stutter
Ohh thank you a lot I wasn't aware of having to consider this for VR ^^