SyncedDestroy destroying additional unwanted gameobjects

Options
In our game, we're spawning drones continously. Every drone has a script attached that OnSyncedTriggerEnter with the walls tells TrueSyncManager to SynchedDestroy it. It does that as expected, but in addition, it also destroys gameobjects that just got SyncedInstantiated. You can see the usual drone pattern, but once some drones start hitting the walls and triggering the destroy, the newly spawned drones also get destroyed, which leaves a gap in the pattern.

Any idea what causes this or if there's any workaround to it? We really need to destroy the specific gameobjects when they hit the collider, otherwise the game'll be flooded with them.

Best Answer

Answers