When exiting the run mode, calling Tween.StopAll in the OnDisable callback may occasionally trigger warnNoInstance
ctxdegithub opened this issue · 2 comments
ctxdegithub commented
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
.
Maybe the PrimeTweenManager
destroyed before my GameObjects?
KyryloKuzyk commented
Huge thanks for another bug report! Will fix it soon.
KyryloKuzyk commented
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!