Deferred messages were received for a trigger of type OnSpawn with key 0, but that trigger was not received within within 1 second(s)

Hi all, I have this problem, I can’t see how the host puts the items on the table (they still remain in hands) and I can’t put them anywhere on the client. Everything is fine on the host side. Yesterday everything worked perfectly, today it doesn’t work anymore, no changes in the code, can anyone help?

[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).
UnityEngine.Debug:LogWarning (object)
Unity.Netcode.NetworkLog:LogWarning (string) (at ./Library/PackageCache/com.unity.netcode.gameobjects@1.2.0/Runtime/Logging/NetworkLog.cs:28)
Unity.Netcode.DeferredMessageManager:PurgeTrigger (Unity.Netcode.IDeferredMessageManager/TriggerType,ulong,Unity.Netcode.DeferredMessageManager/TriggerInfo) (at ./Library/PackageCache/com.unity.netcode.gameobjects@1.2.0/Runtime/Messaging/DeferredMessageManager.cs:98)
Unity.Netcode.DeferredMessageManager:CleanupStaleTriggers () (at ./Library/PackageCache/com.unity.netcode.gameobjects@1.2.0/Runtime/Messaging/DeferredMessageManager.cs:83)
Unity.Netcode.NetworkManager:OnNetworkPostLateUpdate () (at ./Library/PackageCache/com.unity.netcode.gameobjects@1.2.0/Runtime/Core/NetworkManager.cs:1648)
Unity.Netcode.NetworkManager:NetworkUpdate (Unity.Netcode.NetworkUpdateStage) (at ./Library/PackageCache/com.unity.netcode.gameobjects@1.2.0/Runtime/Core/NetworkManager.cs:1538)
Unity.Netcode.NetworkUpdateLoop:RunNetworkUpdateStage (Unity.Netcode.NetworkUpdateStage) (at ./Library/PackageCache/com.unity.netcode.gameobjects@1.2.0/Runtime/Core/NetworkUpdateLoop.cs:185)
Unity.Netcode.NetworkUpdateLoop/NetworkPostLateUpdate/<>c:b__0_0 () (at ./Library/PackageCache/com.unity.netcode.gameobjects@1.2.0/Runtime/Core/NetworkUpdateLoop.cs:268)

Based on the version of Netcode for GameObjects you are using, it looks like it is taking a bit longer than 1 second for that message to be received, is timing out, and then being purged/dropped.

If possible, I would update your version of Netcode for GameObjects.

If you cannot upgrade to Unity 6, then update to NGO v1.13.0 and you will want to add this line of code just before you start a client or host/server:
NetworkManager.NetworkConfig.SpawnTimeout = 10;

If you can upgrade to Unity 6, then update to NGO v2.3.2 and within the editor select your NetworkManager and in the inspector view change the Spawn Timeout value to 10.

Let me know if this resolves your issue?

Yes, this method ( If you cannot upgrade to Unity 6, then update to NGO v1.13.0 and you will want to add this line of code just before you start a client or host/server:
NetworkManager.NetworkConfig.SpawnTimeout = 10; ) helped to fix the error, thank you very much, I was stuck on this and could not fix it in any way

Thank you very much

If there is an error with this in the future, I will also report it

Thank you very much again