Original message (verbatim)
Invalid Texture Atlas JSON Hash given, missing 'frames' Object
Placeholders such as %s / %d are kept verbatim from the engine source and are not replaced with concrete values.
Trigger
The atlas JSON is parsed in Hash format (TexturePacker hash export), but the top-level object has no frames key — for example an Array-format JSON was mistakenly loaded as Hash, or the JSON is truncated or malformed.
Typical cause
The JSONHash parser first checks !json['frames']; if missing it aborts parsing, the texture keeps only the __BASE frame, and all later frame lookups by name fail.
Step-by-step fix
- Confirm the export format matches the loading method (this.load.atlas passes both json and image).
- Check the JSON top level contains a frames object.
- Use a JSON validator to rule out truncation or escaping errors.
Source links
Per-entry sources and capture date are listed at /sources#P07.
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