Original message (verbatim)
TextureManager.SpriteSheet: Invalid frameWidth given.
Placeholders such as %s / %d are kept verbatim from the engine source and are not replaced with concrete values.
Trigger
Calling this.load.spritesheet(key, url, config) with a config that omits frameWidth, or passes null / 0, so the parser cannot read a valid frame width.
Typical cause
The SpriteSheet parser reads config.frameWidth; when it is null it cannot compute rows and columns and throws, aborting texture parsing without generating frames.
Step-by-step fix
- Set frameWidth and frameHeight explicitly in the spritesheet config; neither may be empty.
- Confirm the sprite sheet is sliced into equal-width, equal-height frames that match the image dimensions.
- Do not leave frameWidth blank or pass 0; check the image grid before loading.
Source links
Per-entry sources and capture date are listed at /sources#P14.
Related errors
Related Phaser errors
Need an offline quick-reference checklist?
Atlas error library Pro pack: 123 error references (110 single + 13 merged) plus a quick-fix guide, $19 one-time purchase, delivered as electronic files.
Back to the all-errors index Checkout and buy the Pro pack — $19.00