unity networking start host with autocreate
Hi I'm trying to do a menu to connect my players to the game. Nothing really hard, i got three button: one to host, one to join and one to quit. Quite simple.
To do so i have two function:
public void Join()
{
NetworkManager.singleton.StartClient();
}
public void LoadGame()
{
NetworkManager.singleton.StartHost();
}
But strangely, the player aren't spawned in every application, if you look at the first screen i've done, you can see that i've host at the right and join at the left. But nothing has spawned at the left (and i can't control the second player as well).
The second screen show that it's different if i join from the editor.In this case, nothing is spawned. And i can't get why because it's just basic use of the networkmanager.
If you have any clue about this problem, it would be really helpfull, thanks in advance.
Your answer
![](https://koobas.hobune.stream/wayback/20220612105903im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Reference lost in NetworkEntity 0 Answers
How to send Kinect skeleton data through Unity networks (multiplayer) 0 Answers
Best Practice for an object that is both online and offline using uNET 0 Answers
Day/Night cycle turns black at night and how to Serialize it rightly? 0 Answers
Photon Networking - How to move all players from game scene to current room scene? 0 Answers