Closed inmylo closed 1 year ago
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master
branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
Version
Description
I try to load multiple textures with
this.load.pack()
. JSON file contains a section of spritesheets and one of them has a normal map included.When I load the game browser shows the error:
Texture key already in use: m4a1
. I'm sure my JSON file doesn't contain the same key twice. Then I move a normalMap definition to the next image - the error now is:Texture key already in use: gun2
.This means generating sprites with normal map uses the same key twice somewhere.
Detailed browser error:
Example Test Code
pack.json
content: