OneUglyRobot

Hello,

I am getting this error when repacking my skins. Skins work fine when the are not repacked.
Texture rectangle is out of bounds (0 + 173 > 162)
UnityEngine.Texture2D:GetPixels(Int32, Int32, Int32, Int32)
Spine.Unity.Modules.AttachmentTools.SpriteAtlasRegionExtensions:ToTexture(AtlasRegion, Boolean, TextureFormat, Boolean) (at Assets/Spine/spine-unity/Modules/AttachmentTools/AttachmentTools.cs:509)
Spine.Unity.Modules.AttachmentTools.SpriteAtlasRegionExtensions:GetRepackedSkin(Skin, String, Shader, Material&, Texture2D&, Int32, Int32, TextureFormat, Boolean, Material) (at Assets/Spine/spine-unity/Modules/AttachmentTools/AttachmentTools.cs:429)
Spine.Unity.Modules.AttachmentTools.SpriteAtlasRegionExtensions:GetRepackedSkin(Skin, String, Material, Material&, Texture2D&, Int32, Int32, TextureFormat, Boolean) (at Assets/Spine/spine-unity/Modules/AttachmentTools/AttachmentTools.cs:400)
Any ideas?
OneUglyRobot
Posts: 28

Pharan

Can you send us your png and .atlas.txt file?
You can send it to unity@esotericsoftware.com

-- 25 Jul 2017 5:41 pm --

We didn't seem get an error.
Are you using the latest runtime?
Did you change any texture import settings in Unity in its inspector?
Official Esoteric Assorted Furniture Cleaner and Teahouse | Check out the Spine Users Tumblr Blog: spine-users.tumblr.com
pharan.deviantart.com | pharantriestoanimatestuff.tumblr.com - - - Windows 10 - Spine-Unity.
User avatar
Pharan

Pharan
Posts: 4273

OneUglyRobot

I've managed to solve the issue.

Attached Sprites must be set to 'Full Rect' or it will create a packing error.

OneUglyRobot
Posts: 28


Return to Unity