Original message (verbatim)
'AnimationManager key already exists: ' + key
Placeholders such as %s / %d are kept verbatim from the engine source and are not replaced with concrete values.
Trigger
Calling this.anims.create({ key: ... }) repeatedly; the animation key is already registered in the global AnimationManager — for example the scene restarted but the animation was not cleaned up.
Typical cause
Inside create, this.get(key) hits the existing animation instance and does not overwrite it; it warns and returns the old instance, so the new config does not take effect.
Step-by-step fix
- Check this.anims.exists(key) before creating.
- To rebuild, call this.anims.remove(key) first or this.anims.clear().
- Note animations are global and are not destroyed automatically with the scene.
Source links
Per-entry sources and capture date are listed at /sources#P12.
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