Hi!
I'm writing because I think we've found a bug with skin exporting / importing to Unity.
At some point when our animator exported a character of ours, we noticed that her hair was missing an attachment in Unity.
In Spine 4.1.18 Pro
In Unity 2020.3.42f1 using Spine 4.1 runtime pulled from Git today:
Both are showing the same skin.
When pressing show Attachments in the inspector for the skeleton data, only the attachments up until the missing ones:
And this error is spammed in the console:
NullReferenceException: Object reference not set to an instance of an object
Spine.Unity.Editor.SkeletonDataAssetInspector.DrawSlotList () (at Library/PackageCache/com.esotericsoftware.spine.spine-unity@ca09a57c21/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:567)
Spine.Unity.Editor.SkeletonDataAssetInspector.OnInspectorGUI () (at Library/PackageCache/com.esotericsoftware.spine.spine-unity@ca09a57c21/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:230)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <bf2356d10abb4ac9a31a334d3389ec17>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
I can upload the Spine file if you can provide at private place to do so.
Thanks! :grinteeth: