Unity warns non-power-of-two variant sprite atlas scale may cause artifacts
Unity's Variant Sprite Atlas Inspector can display a warning when the chosen Scale factor produces a packed texture with non-power-of-two dimensions. Such textures may cause visual problems like blocky edges or sampling seams under certain compression formats on target platforms, though they often look fine in the editor. The variant's size is derived by multiplying the master atlas's packed dimensions by the Scale, so the problem often arises from arbitrary fractional scales or from repacking the master at a new size. Mobile and Web builds are most likely to show artifacts, while desktop GPUs may tolerate NPOT textures. Developers are advised to choose a Scale that yields power-of-two dimensions, or to verify platform support and test specific builds if NPOT is unavoidable.
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