Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ctxdegithub opened this issue Dec 1, 2023 · 2 comments

Comments

@ctxdegithub
Copy link

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?

@KyryloKuzyk
Copy link
Owner

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

@KyryloKuzyk
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants