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

Question How to Netcode for GameObjects handles messaging to itself when host mode?

Discussion in 'Netcode for GameObjects' started by Kichang-Kim, Nov 14, 2021.

  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,008
    Hi. I'm reading the source code of Netcode for GameObjects, and have some questions about Host mode.

    https://docs-multiplayer.unity3d.com/docs/develop/advanced-topics/message-system/execution-table

    In documentation, it said that:

    But I found that SendMessage() of NetworkManager.cs does not send any messages to itself.

    So how "regular network frame staging" is followed when Host called ClientRPC or sending message itself?

    Thanks.
     
    LionheartXII likes this.