I have this code and this error, but on another project it’s working ,on current one it’s not
Have you added the playcanvas tween.js library to your project? You can find it here:
Mmm, not sure, jus in case, can you go to your project settings and check if the tween.js library is loaded first?
How big is that tween.js file? Can you share the project for people to take a quick look?
Looks like there is an issue with that asset file. (no file size and can’t open in the code editor). Delete and reupload the JS file again.