- Home /
DoTween Error
Hello guys! Can you help me to fix this error? I don`t understand how to do it...
DOTWEEN:: An error inside a tween callback was silently taken care of > Object reference not set to an instance of an object
at Model+<>c_DisplayClass36_1.b_0 () [0x00048] in D:\Unity\Jungle Puzzle 2019\Assets\Scripts\Model.cs:177 at DG.Tweening.Tween.OnTweenCallback (DG.Tweening.TweenCallback callback) [0x00007] in :0
UnityEngine.Debug:LogWarning(Object) DG.Tweening.Core.Debugger:LogWarning(Object) DG.Tweening.Tween:OnTweenCallback(TweenCallback) DG.Tweening.Tween: DoGoto(Tween, Single, Int32, UpdateMode) DG.Tweening.Core.TweenManager:Update(UpdateType, Single, Single) DG.Tweening.Core.DOTweenComponent:Update()
Answer by MSplitz-PsychoK · Oct 02, 2019 at 12:01 AM
One of your Tweens completed and called a function that you passed into OnComplete(). When that function is called, you get a NullReferenceError in your Model.cs script on line 177. Maybe you accidentally destroyed an object too early before the Tween completed?
That's about all I can tell you with the information given. Good luck!
Your answer
Follow this Question
Related Questions
Unity Teams Errors When Transferring 0 Answers
What is happening and what does this MEAN!?!?!?!?!?!?!?!? AHHHHH!!!!,WHAT IS HAPPENING?!?! 1 Answer
Too many errors in the IDE (even for a fresh project), but editor doesn't throw any errors! 1 Answer
Fatal error! System out of memory! Unity 3D 1 Answer
Moving a character to a waypoint 1 Answer