Search Unity

Question [Netcode] Deferred messages were received for a trigger of type OnSpawn

Discussion in 'Netcode for GameObjects' started by gindey, Jan 22, 2024.

  1. gindey

    gindey

    Joined:
    Jul 11, 2023
    Posts:
    6
    Hi everyone,
    In my project, I have a ServerRpc function, this ServerRpc function send player data from client to server and then call a ClientRpc function inside it to send data to other clients. But when i call it from client, the server got this message "[Netcode] Deferred messages were received for a trigger of type OnSpawn with key 0, but that trigger was not received within within 1 second(s)." and this ServerRpc doesn't do anything. If i call it from server, no message (of course) but it still doesn't do anything.
    Can you guys help me how to resolve this happen!
    Thanks advance!