I am using [SpineAnimation] and [SpineEvent] for making my facade classes more user friendly. In almost any case I use SkeletonGraphic and SkeletonAnimation indiscriminately, which turn out was more complicated than I thought with both classes not being properly interfaced.
When using these attributes in this way, the attributes drawers fail for SkeletonGraphics that are on a different component than the string field reference. For SkeletonAnimations this works, because the Attribute drawers try to get the SkeletonAnimation Component from the childobjects, if they can not find any. As a workaround I would add following lines to SpineAttributesDrawers.cs at Line 56 to have the same functional fallback for SkeletonGraphics:
if (component.GetComponentInChildren<SkeletonGraphic>() != null)
{
var skeletonRenderer = component.GetComponentInChildren<SkeletonGraphic>();
skeletonDataAsset = skeletonRenderer.skeletonDataAsset;
}
Hope this helps!