Hi! I had an issue.
If I move object at the server side, it moves at the client side.
When I move object at the client side, it DOES NOT move at the server side! What’s wrong?
Details:
- Prefab has NetworkIdentity(LocalPlayerAuthority=true), NetworkTransform.
- Script is derived from NetworkBehaviour.
- Prefab is registered via Spawn Info
Server:
- NetworkServer.RegisterHandler(message A,…)
- networkManager.StartServer
- Handle message A: NetworkServer.Spawn(obj)
Client:
- testClient.Connect
- ClientScene.Ready
- sending message A to a server