We have automatic reporting of unhandled exceptions built in to our game, and are rarely seeing the following exception get reported:
NullReferenceException: A null value was found where an object instance was required.
in
DG.Tweening.Core.TweenerCore`3[T1,T2,TPlugOptions].ApplyTween (Single prevPosition, Int32 prevCompletedLoops, Int32 newCompletedSteps, Boolean useInversePosition, UpdateMode updateMode, UpdateNotice updateNotice)
DG.Tweening.Tween.DoGoto (DG.Tweening.Tween t, Single toPosition, Int32 toCompletedLoops, UpdateMode updateMode)
DG.Tweening.Core.TweenManager.Update (UpdateType updateType, Single deltaTime, Single independentTime)
DG.Tweening.Core.DOTweenComponent.Update ()
It seems probable that this is ultimately a bug in our code (as opposed to DOTween), however we’re having a tough time figuring out how to get more info. Is there a way for DOTween to give us more info when this gets hit so we can figure out which tween it’s in, or which line of our tween code, etc?
Or, if this happens to be a known issue in DOTween (this was reported in v1.1.695 w/ DOTween Pro), that’d be great to know as well. Also in case it’s relevant, it’s happening on both iOS & Android (various major versions of both), and Unity v2018.2.2.