No matter what I do, I can’t seem to get unity to create a 4096 Texture Atlas.
I’ve set Max Size to 4096 or 8192, but always get the same error when trying to pack:
ArgumentException: Atlas “foo” (2048x2048) can’t fit sprite “texture2” (3840x1080).
UnityEditor.Sprites.DefaultPackerPolicy.OnGroupAtlases (BuildTarget target, UnityEditor.Sprites.PackerJob job, System.Int32[ ] textureImporterInstanceIDs) (at C:/buildslave/unity/build/Editor/Mono/Sprites/DefaultSpritePackerPolicy.cs:104)
UnityEditor.Sprites.Packer.ExecuteSelectedPolicy (BuildTarget target, System.Int32[ ] textureImporterInstanceIDs) (at C:/buildslave/unity/build/Editor/Mono/Sprites/SpritePacker.cs:117)
UnityEditor.DockArea:OnGUI()
Any ideas what’s going on?
My sample project has just 2 textures included, each one is 3840x1080, both with a Max Size of 4096, and packing tag of “foo”.
2436321–167013–Test4096Atlas.zip (28.4 KB)