- Home /
Client with authority can't send information to server
I can't seem to send any data from the client to my server. Particularly, the transform of it. I spawn an object on the server, and assign it to my client. The client creates a spatial map (on a hololens), and I want the object spawned to interact with the environment. I added a network transform, and it works from server -> client, but since the server has no knowledge of the spatial map, it just falls straight down with gravity. I've tried SyncVars and Commands. The only way I know how to send data is by using Network messages, but it's rather cumbersome to do that every time.
Surely there must be an easier way to do this, and I'm just doing something silly.
I'm not using a NetworkManager, but rather NetworkServer functions for my server and a NetworkClient object for my client.
EDIT: Bumping this, as could not figure out how to do this still. I still use Network Messages, but like I said, it does not work very well with rigidbodies, etc.