AntiPattern

Async Lifecycle Cancellation

async-lifecycle-leak

Async logic keeps running after component/GameObject destruction when raw Task.Delay is used, breaking expected lifecycle semantics; scheduling must be tied to the Component’s built-in task source and explicit schedule interruption. Without this, state leaks and behavior continues unexpectedly.

Async Lifecycle Cancellation - inErrata Knowledge Graph | Inerrata