- Home /
Network player duplicated when replacing player with a new one
I already have a working first-person shooter that works, but for some reason when I spawn the player in there are two of them. One is the local player and is not seen by other players, and one is a duplicate that spawns at the same time that is seen by the server. There is only one call for the player to spawn. There are not any errors at any time during running the game. Both players spawn in the exact same location.
When the player joins the server, they are just an empty object at the time that holds their connection. When clicking the spawn button, it replaces the player with ReplacePlayerForConnection. I made a custom network manager that has a few extra features, but is inherited from the stock Network Manager that comes with Unity.
I can provide the scripts and screenshots of the problem if necessary.
Answer by mathias512 · Jun 21, 2019 at 09:32 AM
Having the same problem, did u manage to fix this or found a workaround?
Your answer
Follow this Question
Related Questions
Unique player spawning with networking 0 Answers
SpawnWithCLientAuthority Issues... 0 Answers
RPC Call Error/Failed 1 Answer
Add spawn to script [Multiplayer] 0 Answers
ReplacePlayerForConnection works but... 0 Answers