4ian / GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.
https://gdevelop.io
Other
10.83k stars 850 forks source link

Error with AsyncTasksManager #3955

Closed Oxey405 closed 2 years ago

Oxey405 commented 2 years ago

Describe the bug

Hello ! So I was making an extension for the community and I updated to the latest version( beta134 ) and when I restarted my project without changing anything, I had the error described below : image

logger.ts:44 [Game manager] Internal crash: TypeError: r.AsyncTasksManager is not a constructor log @ logger.ts:44 runtimescene.ts:36 Uncaught (in promise) TypeError: r.AsyncTasksManager is not a constructor at new g (runtimescene.ts:36) at a.push (scenestack.ts:102) at c.startGameLoop (runtimegame.ts:570) at index.html:113 at runtimegame.ts:545

To Reproduce

I have not figured out yet the steps to reproduce the bug but I assume it has to be in relation with the javascript event. I won't include a link for the game now because I'd like to continue working a bit my extension before releasing it.

Other details

OS : Windows 10 64bit family (latest version) GDevelop Version : 5 beta134

AlexandreSi commented 2 years ago

Hi @Oxey405, thank you for taking the time to report this! My guess is that you had the new version of the editor but the last version of the engine was not loaded so it was not aware of this new class that AsyncTasksManager (a class that helps at running the new Wait action). You shouldn't see this error in the future.

Let's close this issue in a week if no one encounters the same issue.

arthuro555 commented 2 years ago

This can be closed Screenshot_20220531-114903_Discord