Question by
Tho654 · Aug 10, 2016 at 09:43 PM ·
networkingnetwork instantiateauthoritative
SpawnWithClientAuthority problem
i am trying to instantiate a gameobject with Client Authority. For this i need to run the function: NetworkServer.SpawnWithClientAuthority(Object, conn).
I am running this in my networkmanager in the OnServerConnect(NetworkConnection conn) function. it seems to instantiate my objects but it doesn't give the object Authority on the Client.
the gameobject has local player Authority as his networkidentity.
Am i doing something wrong? Thanks in advance
Comment
Your answer
