Search Unity

server not getting info from client

Discussion in 'Connected Games' started by chippy-cheese, Jun 28, 2013.

  1. chippy-cheese

    chippy-cheese

    Joined:
    Feb 29, 2012
    Posts:
    124
    Ok working on a project and i can connect the server and client and the RPC are working just fine. The problem lies in the face of not being able to have the movement line up correctly. I have tried using the network view and have it observe the transform using Reliable Delta Compressed and Unreliable. Only half of it seems to work as the server can send out information and the client gets it however the server doesn't collect any information the server from the client in this way but only in the RPC. Any ideas on how to fix a problem this. I have been working on this problem for over 4 hours
     
  2. chippy-cheese

    chippy-cheese

    Joined:
    Feb 29, 2012
    Posts:
    124
    well found an answer to by problem. Basically the "Reliable Delta Compressed" will only send data if the object is created on that network. So the client would have to use Network.Instantiate so if the player moved it by say the basic character controller then the data will transfer and same side for the server if he had a person.
     
unityunity