Basically i’m new to Unet.
I was trying to not have the Server unity instance also as a Player.
What i’ve done is:
Have two builds of the game, one with a bool “Server” one triggered and one not.
What the bool does if it’s triggered it loads “ServerScene” where there is only a NetworkManager and there is an automatically call of “StartHost()”.
If the bool is not triggered the Scene to load is just what the player must do, passing from “LoginScene” to “CharactherSelectScene” then a “LoadingScene” that loads my map (of course not automatically, by buttons!).
The “Login” scene contains a NetworkManager, then a button to do the StartClient() and it works! I’m able to connect to my Server.
But i’m having problem with spawning now! So the first question, before i ask help about spawning is: is this the correct way to have a Server that is not also the client? Or i just messed around?
Many thankses in advance!