I want to find a way to spawn several player objects. So one player have for instance two player objects.
So at first to make this possible i had to find a way to spawn player objects after connecting to the server.

In the offline scene you can choose if you want to start as Client, a server or a host. Then you come to the game Scene (Little map). In this Scene is a empty gameObject with the “SpawnScript” atteached. This Script should spawn the player object.
My Problem is, after spawning the player I get the Error “A connection has already been set as ready. There can only be one.UnityEngine.Networking.NetworkManager:Update()”. In the Scene is now one player object. (was started as a host). Now a other Client connect to it. Now there are 3 cubes and 2 Clients.
Can anybody help me or have an idea how to solve this Problem?
2254320–150663–SpawnScript.cs (594 Bytes)