Hello Spine Team!
Unity 2021.3.1f1
Spine Editor 4.1.24
Spine-Unity Runtime: spine-unity-4.1-2023-01-11.unitypackage
Skeleton source and exported version:
There is a problem with a skeleton importing. When I click SkeletonData of the imported skeleton to display it in the Inspector tab in Unity, the error pops up in console:
Error reading skeleton JSON file for SkeletonData asset: Headhunter_SkeletonData
Error reading attachment: Idle_fx-B_01, skin: default
at Spine.SkeletonJson.ReadSkeletonData (System.IO.TextReader reader) [0x01056] in *ROOT*\Assets\Spine\Runtime\spine-csharp\SkeletonJson.cs:322
at Spine.Unity.SkeletonDataAsset.ReadSkeletonData (System.String text, Spine.AttachmentLoader attachmentLoader, System.Single scale) [0x00017] in *ROOT*\Assets\Spine\Runtime\spine-unity\Asset Types\SkeletonDataAsset.cs:281
at Spine.Unity.SkeletonDataAsset.GetSkeletonData (System.Boolean quiet) [0x000d5] in *ROOT*\Assets\Spine\Runtime\spine-unity\Asset Types\SkeletonDataAsset.cs:180
UnityEngine.Debug:LogError (object,UnityEngine.Object)
Spine.Unity.SkeletonDataAsset:GetSkeletonData (bool) (at Assets/Spine/Runtime/spine-unity/Asset Types/SkeletonDataAsset.cs:183)
Spine.Unity.Editor.SkeletonInspectorPreview:Initialize (System.Action,Spine.Unity.SkeletonDataAsset,string) (at Assets/Spine/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:833)
Spine.Unity.Editor.SkeletonDataAssetInspector:OnInspectorGUI () (at Assets/Spine/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:209)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Is there a way to fix it without disabling the Idle_fx-B_01 attachment completely? I've also noticed there was a similar problem to mine here just in case: https://esotericsoftware.com/forum/d/11629-error-reading-skeleton-json-file-for-skeletondata-asset
Thank you in advance.
Best Regards,
Igor