Demigiant / dotween

A Unity C# animation engine. HOTween v2
http://dotween.demigiant.com
Other
2.36k stars 350 forks source link

IndexOutOfRangeException on using DOTween.SetTweensCapacity in Start() #435

Open sarebots opened 4 years ago

sarebots commented 4 years ago

Hi, I'm getting the following errors (A lot of similar errors) after reloading level if I call DOTween.SetTweensCapacity(1250, 312); in Start method:

IndexOutOfRangeException: Index was outside the bounds of the array. DG.Tweening.Core.TweenManager.GetTweener[T1,T2,TPlugOptions] () (at D:/DG/_Develop/UNITY3_CLASSES/_Holoville/DOTween/_DOTween.Assembly/DOTween/Core/TweenManager.cs:82)

DoTween v1.2.420 [Release Build] DoTween Pro v1.0.244