Understanding DOTWEEN errors
Hello, I imported this DOTWEEN thing and basically, whenever i mess up somewhere and get an error, I can't make heads or tails of what it is it's trying to tell me it always looks like the same thing to me and then a metric ton of gibberish
 DOTWEEN :: An error inside a tween callback was silently taken care of > Argument cannot be null. Parameter name: type
 
   at System.Activator.CheckType (System.Type type) [0x00006] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Activator.cs:378 at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Activator.cs:343 at System.Activator.CreateInstance (System.Type type) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Activator.cs:254 at CardLogic..ctor (.CardAsset ca) [0x0004c] in C:\Users\Mabu\Desktop\CardGameCourse\Assets\Scripts\Logic\CardLogic.cs:59 at Player.DrawACard (Boolean fast) [0x00056] in C:\Users\Mabu\Desktop\CardGameCourse\Assets\Scripts\Logic\Player.cs:178
 
 at TurnManager.<OnGameStart>m__0 () [0x00025] in C:\Users\Mabu\Desktop\CardGameCourse\Assets\Scripts\Logic\TurnManager.cs:99 at DG.Tweening.Tween.OnTweenCallback (DG.Tweening.TweenCallback callback) [0x00007] in D:\DG\_Develop\__UNITY3_CLASSES\_Holoville\__DOTween\_DOTween.Assembly\DOTween\Tween.cs:267 
 
 
 UnityEngine.Debug:LogWarning(Object) DG.Tweening.Core.Debugger:LogWarning(Object) (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Core/Debugger.cs:26) DG.Tweening.Tween:OnTweenCallback(TweenCallback) (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Tween.cs:269) DG.Tweening.Tween:DoGoto(Tween, Single, Int32, UpdateMode) (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Tween.cs:251) DG.Tweening.Core.TweenManager:Update(UpdateType, Single, Single) (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Core/TweenManager.cs:404) DG.Tweening.Core.DOTweenComponent:Update() (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Core/DOTweenComponent.cs:50)
 
               even if you can't figure out what exactly is wrong, can someone figure out at least where it went wrong so i can figure it out? I'd appreciate it
There is an exception from OnTweenCallback. DOTWEEN catches all exceptions from callbacks as default. If you look carefully in your message you can see exactly in what line of code exception happened.
Your answer
 
             Follow this Question
Related Questions
Error!!! NullReferenceException: Object reference not set to an instance of an object 2 Answers
error CS1525: Unexpected symbol `float' 1 Answer
GameObject only spawning 60% of the time (c#) 1 Answer
Error with String in code 1 Answer
Create a copy of a non MonoBehaviour class and set variables from other class 0 Answers