Nick

Unity 2019.3 just officially available and spine runtime show the following error:
NullReferenceException: Object reference not set to an instance of an object
Spine.Unity.SkeletonDataCompatibility.GetCompatibilityProblemInfo (Spine.Unity.SkeletonDataCompatibility+VersionInfo fileVersion) (at Assets/AddOns/Spine/Runtime/spine-unity/Asset Types/SkeletonDataCompatibility.cs:134)
Spine.Unity.Editor.AssetUtility.IsSpineData (UnityEngine.TextAsset asset, Spine.Unity.SkeletonDataCompatibility+CompatibilityProblemInfo& compatibilityProblemInfo) (at Assets/AddOns/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs:668)
Spine.Unity.Editor.AssetUtility.ImportSpineContent (System.String[] imported, System.Boolean reimport) (at Assets/AddOns/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs:270)
Spine.Unity.Editor.AssetUtility.HandleOnPostprocessAllAssets (System.String[] imported) (at Assets/AddOns/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs:90)
Spine.Unity.Editor.SpineEditorUtilities.OnPostprocessAllAssets (System.String[] imported, System.String[] deleted, System.String[] moved, System.String[] movedFromAssetPaths) (at Assets/AddOns/Spine/Editor/spine-unity/Editor/Utility/SpineEditorUtilities.cs:74)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.AssetPostprocessingInternal.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) (at <3b74787e58694cdda2c241162159b3b7>:0)
UnityEditor.AssetPostprocessingInternal.PostprocessAllAssets (System.String[] importedAssets, System.String[] addedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromPathAssets) (at <3b74787e58694cdda2c241162159b3b7>:0)
Nick
  • Posts: 151

Harald

The error you are encountering seems as if you are using an old spine-unity runtime, as the current version has an empty line at the mentioned file SkeletonDataCompatibility.cs:134. It has nothing to do with the Unity version.
spine-runtimes/SkeletonDataCompatibility.cs at 3.8

We are aware that Unity 2019.3 beta is available. Unfortunately, there are some issues remaining with Unity 2019.3 beta, which is why we state on the download page: "Compatible with Spine 3.8.x and Unity 2017.1-2019.2." until we have fully resolved these problems.
User avatar
Harald

Harri
  • Posts: 1951

Nick

Oh I see. thanks for the info. Maybe I should stick with 2019.2 until the runtime is ready.
Btw, I installed 2019.3.0f1 from Unity Hub in the normal way without Joining the beta programme. I think it is officially out of beta now.
Nick
  • Posts: 151

Harald

Thanks for the info as well! Indeed the first release candidate is now out and they called it 2019.3.0f1, listed under beta, which was why I didn't see it on the non-beta download page.
User avatar
Harald

Harri
  • Posts: 1951


Return to Unity