#Host Game Freezes when using ServerChangeScene();

4 messages · Page 1 of 1 (latest)

hidden dust
#

Hey all, wondering if there is a way to fix when the host is loading a new scene, and the game freezes. It's fine for all other clients, but the host just freezes. This is a major problem as loading a scene for me in some instances can take upwards of 20s.

void cave
hidden dust
void cave
# hidden dust Yep, using the network manager :D

You may have some massive textures, that need resizing or compressing, audios, models etc
Might be loading too many assets at once in the new scene, so what you can do is disable parts of the map, and make a script to enable sections after X seconds.
Or make certain parts a prefab, and instantiate after X seconds (so its never in scene to begin with, lighens initial load)