Skip to content

Use json data with dataKey in Pack loader #6001

Closed
@rexrainbow

Description

@rexrainbow

Version

  • Phaser Version: 3.55.2
  • Operating system: win11
  • Browser: Chrome. firefox

Description

Here is the test code. It load assets by Pack with json data.

  • Without dataKey, it works fiine
  • With datakey test1, it won't work.

It might because that, redundant reading dataKey in JSONFile loader, therefore this.data will be incorrect.

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