Unet: Loading Screen

Hi everyone,

I’m quite new in Unet, I need to add a loading screen for the transition between offline and online scene.

At the moment after the calling of “NetworkManager.singleton.StartHost();” the game freezes for a few seconds until the online scene is loaded.

Is there a simple way to add a loading screen or something else in order to avoid the freezing?

Thank you in advance.

You can try this

  1. Make Loading Screen gameobject persistent by calling DontDestroyOnLoad method on Loading Screen gameobject.

  2. Enable Loading Screen just before joining and disable it when other scene gets loaded.

This may solve problem.

Detailed Unity3D Actual Loading Screen Tutorial (With free C# Script and Demo project)

Or watch it on Youtube