[unity] AnimationReferenceAsset Inspector: Fixed red error popup color showing when no parent SkeletonAnimation component found. See #2453.

This commit is contained in:
Harald Csaszar 2026-03-18 16:39:32 +01:00
parent 9df5f9e4de
commit f61278ac17
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ namespace Spine.Unity.Editor {
if (currentAsset != null && currentAsset.SkeletonDataAsset != null) {
resolvedSkeletonDataAsset = currentAsset.SkeletonDataAsset;
// If other SkeletonDataAsset than expected, use assigned asset but show warning color in Inspector.
if (resolvedSkeletonDataAsset != expectedSkeletonDataAsset)
if (expectedSkeletonDataAsset && resolvedSkeletonDataAsset != expectedSkeletonDataAsset)
skeletonDataAssetMismatch = true;
} else {
resolvedSkeletonDataAsset = expectedSkeletonDataAsset;

View File

@ -2,7 +2,7 @@
"name": "com.esotericsoftware.spine.spine-unity",
"displayName": "spine-unity Runtime",
"description": "This plugin provides the spine-unity runtime core and examples. Spine Examples can be installed via the Samples tab.",
"version": "4.3.57",
"version": "4.3.58",
"unity": "2018.3",
"author": {
"name": "Esoteric Software",