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

"Uncaught TypeError: this.easing is not a function" when project is opened #31

Open
andrew-welsh opened this issue Apr 4, 2022 · 2 comments
Labels

Comments

@andrew-welsh
Copy link

andrew-welsh commented Apr 4, 2022

We've been running into an issue where early in our project tween.js will throw this error. The type of tween doesn't seem to have an impact on whether or not it is caused, and it happens from different points in the project at different times, but only ever once. Tweening in the project continues to work fine after this error is thrown. Directly before the error is called this.easing is equal to 1, but before and after this it is equal to the function that it should be. Any ideas why this might be happening?

Uncaught TypeError: this.easing is not a function update https://launch.playcanvas.com/api/assets/files/Scripts/tween.js?id=62419280&branchId=b564d77a-3d99-4d47-be12-b5442499d0bb:368 update https://launch.playcanvas.com/api/assets/files/Scripts/tween.js?id=62419280&branchId=b564d77a-3d99-4d47-be12-b5442499d0bb:24 addTweenManager https://launch.playcanvas.com/api/assets/files/Scripts/tween.js?id=62419280&branchId=b564d77a-3d99-4d47-be12-b5442499d0bb:675 fire https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.52.6:759 update https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.52.6:72251 makeTick https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.52.6:72834 tween.js:368:26
image

@yaustar
Copy link
Collaborator

yaustar commented Apr 4, 2022

Do you have an example project that can reproduce the issue?

@yaustar yaustar added the bug label Apr 4, 2022
@andrew-welsh
Copy link
Author

Currently we only have this project as we've been hard at work on it, but I can attempt to recreate it in another project later

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

No branches or pull requests

2 participants