- Home /
How to Register Host on MasterServer and Connect to it within the application
Hello!
There's a need in a game to be able to Register Host on Master Server, so that other players can connect. But also, the founder of the session should be able to connect to it himself.
I don't understand, how to do that, cause if I try to write: MasterServer.RequestHostList("M"); and Network.Connect(MasterServer.PollHostList()[i]); in the same application, Unity produces various errors.
That's because you're already connected if you're the host.
Your answer
![](https://koobas.hobune.stream/wayback/20220613140227im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiplayer UNet doesn't use UnityEngine.Network anymore right? 2 Answers
Network multiplayer game - server and client at the same time 1 Answer
Unhandled message 65 from local ip. 0 Answers
Setting up a Unity Masterserver - how to do it correctly? 3 Answers
What is master server in unity is it okay to use it in my multiplayer?? 1 Answer