Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

[UNET] Clients position not being synced after being replaced with ReplacePlayerForConnection

$
0
0
Hello Community!

I've recently started on a simple multiplayer project to learn the ropes of UNET. I got a general idea of how everything works now, but I've stumpled upon a problem when trying to use NetworkServer.ReplacePlayerForConnection.

Thus far, I've got a NetworkManager that spawns a PlayerController (A lobby'ish kinda thing) that controls which team the player should join and setting the player name:

Code (CSharp):
  1.         public override void OnStartLocalPlayer()
  2.         {...
[UNET] Clients position not being synced after being replaced with ReplacePlayerForConnection

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>