Quantcast
Viewing all articles
Browse latest Browse all 2891

Can't move animation keyframes or play the game without getting error.

Hi, I'm creating a top down 2D game, and when I'm dragging the sprites i painted into the animation tab and try to move the keyframes around i get these errors: InvalidCastException: Specified cast is not valid. UnityEditorInternal.AnimationWindowKeyframe.ToKeyframe () (at :0) UnityEditorInternal.AnimationWindowCurve.ToAnimationCurve () (at :0) UnityEditorInternal.AnimationWindowUtility.CreateRendererForCurve (UnityEditorInternal.AnimationWindowCurve curve) (at :0) UnityEditorInternal.AnimationWindowUtility.GetCurveWrapper (UnityEditorInternal.AnimationWindowCurve curve, UnityEngine.AnimationClip clip) (at :0) UnityEditorInternal.AnimationWindowState.get_activeCurveWrappers () (at :0) UnityEditor.AnimEditor.UpdateCurveEditorData () (at :0) UnityEditor.AnimEditor.UpdateSelectedKeysToCurveEditor () (at :0) UnityEditor.AnimEditor.SaveCurveEditorKeySelection () (at :0) UnityEditor.AnimEditor.OnStartLiveEdit () (at :0)

Viewing all articles
Browse latest Browse all 2891

Trending Articles