When I change the scale of a SkeletonGraphic to 0 and change it back to 1, It stops rendering.
I have also checked the SkeletonAnimation, the problem is same.
However everything is ok in SkeletonRenderer.
I'm upgrading the Spine Runtime from 3.8 to 4.2. There is no problem in 3.8. So I'm wondering is anything changed in newest runtime?
Below is the error message when using SkeletonAnimation:
Assertion failed on expression: 'CompareApproximately(SqrMagnitude(result), 1.0F)'
UnityEngine.Quaternion:Euler (single,single,single)
Spine.Unity.Editor.SpineHandles:DrawBone (UnityEngine.Transform,Spine.Bone,single,single) (at ./Library/PackageCache/com.gongfubb.spine@4.0.4-etc2-mod/Spine/Editor/spine-unity/Editor/Utility/SpineHandles.cs:225)
Spine.Unity.Editor.SpineHandles:DrawBones (UnityEngine.Transform,Spine.Skeleton,single) (at ./Library/PackageCache/com.gongfubb.spine@4.0.4-etc2-mod/Spine/Editor/spine-unity/Editor/Utility/SpineHandles.cs:184)
Spine.Unity.Editor.SkeletonRendererInspector:OnSceneGUI () (at ./Library/PackageCache/com.gongfubb.spine@4.0.4-etc2-mod/Spine/Editor/spine-unity/Editor/Components/SkeletonRendererInspector.cs:208)
(wrapper dynamic-method) object:lambda_method (System.Runtime.CompilerServices.Closure,UnityEditor.Editor)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Quaternion To Matrix conversion failed because input Quaternion is invalid {nan, nan, nan, nan} l=nan
UnityEngine.Matrix4x4:TRS (UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Vector3)
Spine.Unity.Editor.SpineHandles:DrawBone (UnityEngine.Transform,Spine.Bone,single,single) (at ./Library/PackageCache/com.gongfubb.spine@4.0.4-etc2-mod/Spine/Editor/spine-unity/Editor/Utility/SpineHandles.cs:231)
Spine.Unity.Editor.SpineHandles:DrawBones (UnityEngine.Transform,Spine.Skeleton,single) (at ./Library/PackageCache/com.gongfubb.spine@4.0.4-etc2-mod/Spine/Editor/spine-unity/Editor/Utility/SpineHandles.cs:184)
Spine.Unity.Editor.SkeletonRendererInspector:OnSceneGUI () (at ./Library/PackageCache/com.gongfubb.spine@4.0.4-etc2-mod/Spine/Editor/spine-unity/Editor/Components/SkeletonRendererInspector.cs:208)
(wrapper dynamic-method) object:lambda_method (System.Runtime.CompilerServices.Closure,UnityEditor.Editor)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)