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

getPipelineName() errors with the Canvas renderer #6799

Closed
samme opened this issue Apr 24, 2024 · 1 comment · Fixed by #6801 · May be fixed by jonesrussell/nishman#6
Closed

getPipelineName() errors with the Canvas renderer #6799

samme opened this issue Apr 24, 2024 · 1 comment · Fixed by #6801 · May be fixed by jonesrussell/nishman#6

Comments

@samme
Copy link
Contributor

samme commented Apr 24, 2024

Version

  • Phaser Version: 3.80.1 and earlier

Description

Create a game with type CANVAS or AUTO and no WebGL support.

Create a game object and call its getPipelineName().

TypeError: null is not an object (evaluating 'this.pipeline.name')

Example Test Code

new Phaser.Game({
  type: Phaser.CANVAS,
  scene: {
    init: function () {
      this.add.image(0, 0, '__DEFAULT').getPipelineName();
    }
  }
});
@photonstorm
Copy link
Collaborator

Thanks for opening this issue, and for submitting a PR to fix it. We have merged your PR into the master branch and attributed the work to you in the Change Log. If you need to tweak the code for whatever reason please submit a new PR.

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