Hi! When i move an obj on the server, it moves on the clients. But, when i move it on the clients, it does not move on the server. How do i fix this? I have the object as a prefab with the Network Identity script, Local Player Authority checked, and a Network Transfrom script on it set to Sync Transform.
Did you manage to solve this? thank’s! @gabrieltm9
In order to move an object (that isn’t your player object) with the client, you will either need to give the client authority over the object(with the server) or tell the server that you want it moved through a Command attribute.
This is briefly touched on at :
And mentioned again half way down the page at:
Your other method is using a Command Attribute from the client to call back to the server.
I would also highly recommend thoroughly reading through the Unet Manual start to finish to get a full understanding of what is required.