Skip to content

getPipelineName() errors with the Canvas renderer #6799

Closed
jonesrussell/nishman
#6
@samme

Description

@samme

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();
    }
  }
});

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions