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

NodeJS: scene started before plugins loaded #6893

Closed
hubertgrzeskowiak opened this issue Aug 19, 2024 · 1 comment
Closed

NodeJS: scene started before plugins loaded #6893

hubertgrzeskowiak opened this issue Aug 19, 2024 · 1 comment

Comments

@hubertgrzeskowiak
Copy link

hubertgrzeskowiak commented Aug 19, 2024

Description

This is a duplicate of geckosio/phaser-on-nodejs#13, but I'm hoping that somebody on this project might have some hints on the problem.

In short, when running on NodeJS, Phaser starts the system scene and the first scene set in global config before initialising any of the plugins specified in the game config. This seems to be caused by the texture manager finishing unexpectedly early and starting the main game loop, before the game's boot event is even fired - the plugin manager is listening on that for booting.

Any idea how to debug this? I find Phaser's boot sequence events rather confusing.

  • Phaser Version: 3.70
@zekeatchan
Copy link
Collaborator

Hi @hubertgrzeskowiak. Thanks for submitting this issue. We have fixed this and pushed it to the master branch. It will be part of the next release. Do test it out and let us know if you encounter any issues.

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

No branches or pull requests

4 participants
@photonstorm @hubertgrzeskowiak @zekeatchan and others