diff --git a/BoneSync/Sync/Components/SyncableBase.cs b/BoneSync/Sync/Components/SyncableBase.cs index d91b82e..c50d1bf 100644 --- a/BoneSync/Sync/Components/SyncableBase.cs +++ b/BoneSync/Sync/Components/SyncableBase.cs @@ -146,6 +146,7 @@ namespace BoneSync.Sync.Components public bool CheckIfShouldAutoSync() { if (InPoolManagerTransform()) return false; + if (!gameObject.activeInHierarchy) return false; if (poolee && poolee.pool) { return true; } @@ -208,7 +209,6 @@ namespace BoneSync.Sync.Components if (spawnFragment) return false; // if has spawn fragment, don't sync FindAndUpdateComponents(); - if (InPoolManagerTransform()) return false; if (rigidbodies.Length > 0) return true; return false;