kcp2k icon indicating copy to clipboard operation
kcp2k copied to clipboard

NetworkTransformReliable doesn't work with KCP Transport

Open KarmyDev opened this issue 1 year ago • 0 comments

When new player joins and moves, only the old player will see the update, but if old player moves, the new player won't see update.

Steps to reproduce:

  1. Make a new Unity project (Unity 2021.3.21f1)
  2. Add Mirror (Mirror-78.4.3)
  3. Make a Manager Game Object with NetworkManager, NetworkManagerHUD, and KcpTransport and assign it to NetworkManager
  4. Make player game object with simple Movement script
  5. Add NetworkTransformReliable to player object and select SyncDirection to ClientToServer.
  6. Turn that player into prefab and assign it to NetworkManager, remove it from scene and build the game
  7. Play and move on host and on client to see the issue

KarmyDev avatar May 02 '23 11:05 KarmyDev