diff --git a/Runtime/Tx/ProBridgeTx.cs b/Runtime/Tx/ProBridgeTx.cs index 3f1c56d..5eee6f7 100644 --- a/Runtime/Tx/ProBridgeTx.cs +++ b/Runtime/Tx/ProBridgeTx.cs @@ -33,6 +33,8 @@ namespace ProBridge.Tx private bool initialized; + private bool sentHostMissingMsg; + private void Start() { if (Bridge == null) @@ -69,6 +71,15 @@ private void OnDestroy() protected void SendMsg() { + if (!host) + { + if(!sentHostMissingMsg) Debug.LogWarning($"No host assigned for topic {topic}."); + sentHostMissingMsg = true; + return; + } + + sentHostMissingMsg = false; + var st = ProBridgeServer.SimTime.Ticks; if (_lastSimTime >= st) {