- Home /
Spawn dynamic players over network
I am trying to spawn players based on their respective local information, and I've tried several methods but none are working to my needs so far.
The situation: 1) Upon opening the game, you will need to login. This grabs your user info from an external web service and stores it in a game object.
2) Player 1 starts as a host. (What we want to happen here is player 1 builds a custom game object based on his user info, and registers it with the NetworkManager, so when he starts the game his custom gameobject is spawned)
3) Player 2 connects as a client. (We want the same thing to happen here, but instead we create and register a different gameobject based on Player 2's info, so that when he connects to the Host, both the Host and all other clients will see his custom game object)
Any ideas?
I've tried using RPC's and CMD's, but then I can't get NetworkAnimations to work...
Your answer
![](https://koobas.hobune.stream/wayback/20220612070119im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Cant Sync UI over UNET 0 Answers
Spawning Player 2 through network and giving it access to another script 0 Answers
Network spawning 1 Answer
How to avoid spawn delay on client? 0 Answers