Hey guys,
i am using the unity and c-sharp runtimes as mentioned in the manuals.
After updating Spine yesterday we got some problems with the new import procedure.
As mentionend in the manuals i dragged and dropped the exported files from spine into a unity folder.
Atlas files was extentend by .txt.
The importing stops when the preview for the inspector is created. The resulting atlas data assets is broken.
The source of this error is that a default skin should be loaded
//SpineEditorUtilities 411..
if (skin == null)
{
skin = skeletonDataAsset.GetSkeletonData(false).DefaultSkin;
}
The returned default skin is null, because the exported json file has no default skin.
Renaming a skin from the json file to "default" results into a correct import with no errors.
Should there be a default skin in every exported json file?