KyryloKuzyk/PrimeTween

When exiting the run mode, calling Tween.StopAll in the OnDisable callback may occasionally trigger warnNoInstance

ctxdegithub opened this issue · 2 comments

PrimeTween version: 1.1.1

I've created many GameObjects, and each one needs to stop its own Tween in OnDisable() when it's set to SetActive(false).
When exiting the run mode, calling Tween.StopAll in the OnDisable callback may occasionally trigger warnNoInstance.
image
Maybe the PrimeTweenManager destroyed before my GameObjects?

Huge thanks for another bug report! Will fix it soon.

Maybe the PrimeTweenManager destroyed before my GameObjects?

Yes, this was the reason for the warning.
I fixed the issue in version 1.1.2. Thanks agains for the reporting the issue!