phaser icon indicating copy to clipboard operation
phaser copied to clipboard

Use json data with dataKey in Pack loader

Open rexrainbow opened this issue 2 years ago • 0 comments

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.

rexrainbow avatar Feb 12 '22 08:02 rexrainbow