dotween icon indicating copy to clipboard operation
dotween copied to clipboard

DOTween Pro - AnimationComponent: Animations not starting when entering Play mode in Editor

Open RustedGames opened this issue 3 years ago • 4 comments

Found a bug in DOTween Pro v1.0.330 -> DOTween Animation Component, Animations not starting when entering Play mode in Editor. It is working as expected with previous v1.0.244

RustedGames avatar Sep 25 '22 19:09 RustedGames

Ahoy! I just re-tested to be on the safe side, but everything works correctly here. Could you check if something else changed other than an update (like TimeScale being 0 or a call to DOTween.KillAll). If not, can you show me a screenshot of a DOTweenAnimation with this issue, so I can try to reproduce it?

Demigiant avatar Sep 27 '22 07:09 Demigiant

Sure thing, Unity 2021.3.1f DOTween Pro 1.0.330 -Steps to reproduce:

  1. On an empty scene add a UI Image
  2. Add a DOTween Animation Component
  3. Setup the Tween with AutoPlay Checked
  4. Start Play mode in Unity Editor -Current result The tween is no played, need to click commit changes and restart on the DOTween Animator -Expected result Tween to play 2022-09-30_08-58-08 9831a5924eb37d21bb92fb3f99f3641f

RustedGames avatar Sep 30 '22 07:09 RustedGames

Ahoy again. I just checked and it's working here. But... I see in your pic that AutoPlay is disabled. Maybe you're confusing it with "AutoPlay Only" in the preview block? That one means that in-editor (outside of play mode) preview will only preview animations set to AutoPlay, while to actually activate the AutoPlay you have to toggle the button between "AutoGenerate" and "AutoKill".

Demigiant avatar Oct 06 '22 07:10 Demigiant

That's weird I actually have AutoPlay button toggled on, the one between AutoGenerate and AutoKill, and that's the reason is greyed out. I have the same configuration with the previous version and it worked. I can't record the whole process with Gyazo, Unity takes more than the free 7 seconds just loading Play mode

RustedGames avatar Oct 06 '22 15:10 RustedGames