Sequnce reach max problem
« on: October 09, 2015, 10:33:33 AM »
Hi

I'm using :

[Unity 5.2.0, DOTween Last ver and DoTween pro 0.9]

 In same project

My q is :
My game crash in iphone when the movment or rotate or scale or path finished tweening ! , some time if it don't crash it play tween once and dont replay in all other scene !! The debug talk about sequance reach MAX , how can i solve this and make movment or any tween work normaly without crash ??!!
Note : i using tween with attatch to prefabs not by cod , also can i remove free ver of DoTween folder from my project or its importent to pro to work ?

*

Daniele

  • Dr. Admin, I presume
  • *****
  • 378
    • View Profile
    • Demigiant
Re: Sequnce reach max problem
« Reply #1 on: October 09, 2015, 01:19:10 PM »
Hi,

You can increase the max number of tweens/sequences by calling DOTween.SetTweensCapacity.

About the free version, you definitely need it because it's the core of DOTween Pro. But please check that you don't have multiple installs of the free/core version, because DOTween Pro already contains it in its install folders.

Re: Sequnce reach max problem
« Reply #2 on: October 09, 2015, 08:41:12 PM »
the exact green message in the log is :

DOTWEEN :: REPORT > Max overall simultaneous active Tweeners/Sequences: 5/0


and this warning also :

DOTWEEN :: Null Tween

and now error msg appear in the log :

in : DOTween.Init(true, true, LogBehaviour.Verbose).SetCapacity(2000, 100);

i put this line in the start func in all scene , also no replay any mov or rotate or scale or path , just once before this msg !!

Re: Sequnce reach max problem
« Reply #3 on: October 09, 2015, 09:57:19 PM »
Ooops !!

i do some mistake

i call tween when it disable

i remove all dotween code

the problem now is :

i put cube and add rotate tween to it
i add other scene
when i play game the cube rotate normaly in loop
when i go to other scene and back to 1st scene , the cube stop rotate !!!

Re: Sequnce reach max problem
« Reply #4 on: October 09, 2015, 10:19:20 PM »
Sorry the problem not in DoTween

the problem was in loading screen plugin (Mad Level Manager )

its kill [DOTween] object in run time !!

i tell him dont kill [DOTween] object and the problem solved

thank you.

*

Daniele

  • Dr. Admin, I presume
  • *****
  • 378
    • View Profile
    • Demigiant
Re: Sequnce reach max problem
« Reply #5 on: October 11, 2015, 02:56:25 AM »
Sorry for the late reply, and glad you solved it in the meantime.

Could I ask you more info about why Mad Level Manager was killing DOTween? DOTween's gameObject is set to "don't destroy on load", so it should be persistent.

Cheers