Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Only first message goes to server and only first broadcast arrives to client.

Discussion in 'Multiplayer' started by oomeroo1999, Jun 30, 2019.

  1. oomeroo1999

    oomeroo1999

    Joined:
    Jun 26, 2019
    Posts:
    7
    Hi. I'm making my first multiplayer game using LLAPI. I had faced with two problems.

    1- In Update function, I'm sending the translation and rotation of the character. Like :
    Code (CSharp):
    1. client.Send("CMOV|" + translation.ToString())
    The message arrives and character moves on both client and host. But if I write one more message like:
    Code (CSharp):
    1. client.Send("CTRY|");
    This message doesn't arrive. Why can't I send two messages ?

    2- The same thing happens in the server side. I use BroadCast and it arrives to all clients. But if I use two broadcasts, second one doesn't arrive.