DoTween errors: silently taken care of?
« on: September 23, 2015, 11:55:29 PM »
Hi,
Does anyone knows a way to completely disable the silent error handling, at least in debug mode?

Quote
DOTWEEN :: An error inside a tween callback was silently taken care of > The object of type 'Image' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
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)
...

It is not helping me for debugging, I would really enjoy the regular stack trace...


*

Daniele

  • Dr. Admin, I presume
  • *****
  • 378
    • View Profile
    • Demigiant
Re: DoTween errors: silently taken care of?
« Reply #1 on: September 24, 2015, 01:43:10 PM »
Hi,

To do that, simply disable safe mode (from DOTween's Utility Panel's options).

Cheers,
Daniele

Re: DoTween errors: silently taken care of?
« Reply #2 on: September 24, 2015, 06:02:49 PM »
Thanks!
I tried disabling the safe mode by code, but editor windows have precedence!

Now it's working fine thanks!

*

Daniele

  • Dr. Admin, I presume
  • *****
  • 378
    • View Profile
    • Demigiant
Re: DoTween errors: silently taken care of?
« Reply #3 on: September 24, 2015, 07:47:51 PM »
Until DOTween.Init is manually called (or automatically called when the first tween is created) the editor window has precedence. But if you call DOTween.Init and THEN disable the safe mode code will have precedence :)