[unity] Inner exception description text was missing from skeleton import error log.

This commit is contained in:
Harald Csaszar 2026-02-24 16:26:30 +01:00
parent c24e19783c
commit c3bb4130fe

View File

@ -226,7 +226,8 @@ namespace Spine.Unity {
loadedSkeletonData = SkeletonDataAsset.ReadSkeletonData(skeletonJSON.text, attachmentLoader, skeletonDataScale); loadedSkeletonData = SkeletonDataAsset.ReadSkeletonData(skeletonJSON.text, attachmentLoader, skeletonDataScale);
} catch (Exception ex) { } catch (Exception ex) {
if (!quiet) if (!quiet)
Debug.LogError("Error reading skeleton JSON file for SkeletonData asset: " + name + "\n" + ex.Message + "\n" + ex.StackTrace, skeletonJSON); Debug.LogError("Error reading skeleton JSON file for SkeletonData asset: " + name + "\n" +
ex.Message + "\n" + ex.InnerException + "\n" + ex.StackTrace, skeletonJSON);
} }
#if UNITY_EDITOR #if UNITY_EDITOR