-
Notifications
You must be signed in to change notification settings - Fork 362
Description
DOTWEEN ► Error in RemoveActiveTween (totActiveSequences < 0). It's been taken care of so no problems, but Daniele (DOTween's author) is trying to pinpoint it (it's very rare and he can't reproduce it) so it would be awesome if you could reproduce this log in a sample project and send it to him. Or even just write him the complete log that was generated by this message. Fixing this would make DOTween slightly faster. Thanks.
UnityEngine.Debug:LogWarning (object)
DG.Tweening.Core.Debugger:LogWarning (object,DG.Tweening.Tween)
DG.Tweening.Core.Debugger:LogRemoveActiveTweenError (string,DG.Tweening.Tween)
DG.Tweening.Core.TweenManager:RemoveActiveTween (DG.Tweening.Tween)
DG.Tweening.Core.TweenManager:Despawn (DG.Tweening.Tween,bool)
DG.Tweening.TweenExtensions:Kill (DG.Tweening.Tween,bool)
IKLookAt:OnDestroy () (at Assets/Scripts/Player/IK/IKLookAt.cs:27)
In my script
private void OnDestroy()
{
mySequence?.Kill();
}
My Sequence
mySequence = DOTween.Sequence();
mySequence.Append(DOTween.To(() => currentTargetLerp, x => currentTargetLerp = x, targetLerp, 0.25f));
mySequence.Pause();
I Can send the whole script if you want.