I just upgrade this package from develop. Before it’s name is MLAPI, but changed to netcode for gameobjects.
I have question regarding write permission in NetworkVariable.
Before, you can set write and read permission when creating NetworkVariable. But after updating I cannot set write permission anymore. I just see Read Permission.
In the newest implementation they have chosen to remove the ability for clients to change NetworkVariables. You have to use RPC’s instead. You can check the NetworkTransform and Samples/ClientNetworkTransform scripts for a way to implement client writing.
What if I wanted to have the client see an instantaneous change to their version of the variable? Am I correct in assuming the best way to do this is to just use an ordinary non-networked variable along with RPCs to sync from client-to-server on value change and vice-versa?