[SOLVED] Tween Manager Error

Hi, for no apparent reason Im suddenly getting the error:

tabs=135357229&line=704&col=21&error=true): Uncaught TypeError: application.addTweenManager is not a function

I am not working on any tweens and all I recall doing prior to the error was creating some folders in my project and organizing some files. I have tried re-uploading the script, restarting my Pc etc but the error persists.

What can it be and how can I resolve it?
Thanks

We’re on it, stay tuned.

1 Like

The error seems to have gone away. :slight_smile:

1 Like

I have this error now

You need to delete your currunt tween thingy and download a new one from the asset store.

2 Likes

where is this asset store?

You can find the Asset Store button in the editor, on the bottom right of your scene.

Indeed! Found it! Thanks!

2 Likes

I’ve been having this error [in local development] for the past month, have been ignoring it but trying now to get rid of it.

I’ve deleted the “tween animation library” folder from the folder hierarchy, then re-downloaded it from the Asset Store, but the error persists.

Any tips? :slight_smile: @Albertos

Hi @Michaelsking1993 and welcome!

Can you please show your error?

1 Like

I’m not sure what could be the problem.

Maybe you can try to import it from the page below.

How do I phyically import it from github? What does that mean? :thinking: (sorry if that is a dumb question, it’s just not apparent to me at first or second thought :slight_smile: )

Hi @Michaelsking1993,

You can download the tween.js script from the repo and upload it to your PlayCanvas project.

Or you can import the tween library using from the PlayCanvas Asset Store, there is button to the top right of your assets panel.

1 Like