- Home /
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.
Answer by Brijs · Dec 20, 2016 at 05:49 PM
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.
Answer by SheZii · Jan 30, 2019 at 07:52 AM
Detailed Unity3D Actual Loading Screen Tutorial (With free C# Script and Demo project) http://techscenarios.com/2019/01/unity3d-add-loading-screen-to-your-game/
Or watch it on Youtube https://www.youtube.com/watch?v=fx9XjUS1VEQ
Your answer
![](https://koobas.hobune.stream/wayback/20220612103029im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity 5.2 Unet, extreme Lags after updating from 5.1 1 Answer
Multiplayer Respawning Problems 0 Answers
UNET player respawn 1 Answer
Get Highest Score multiplayer game 0 Answers