Fixing sprite atlas metadata errors in Unity, Godot, and Phaser without re-exporting
Sprite atlases pair a bitmap sheet with a metadata file that maps each frame's position, and mismatches between them cause misaligned, clipped, or missing sprites across major engines. The article argues that many such faults are metadata-only, so a small offline edit can fix them without rebuilding the sheet from the source art project. It outlines four fault patterns seen in real Unity, Godot, and Phaser exports, with a method to confirm each one from the data before changing anything. Recommended precautions include backing up the metadata file, cross-checking rectangles against the bitmap, and re-running checks after each individual edit. Examples include a Python script that flags missing fields and rectangles extending beyond the sheet dimensions in JSON atlases.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in