Demigiant Forum
Unity Assets => DOTween & DOTween Pro => Topic started by: keht on May 12, 2015, 10:36:38 AM
-
Hello! I use 1.0.665 version and got exception. I use default settings for capacity.
DOTWEEN :: Max Tweens reached: capacity has automatically been increased from 200/50 to 200/125. Use DOTween.SetTweensCapacity to set it manually at startup
IndexOutOfRangeException: Array index is out of range.
(wrapper stelemref) object:stelemref (object,intptr,object)
DG.Tweening.Core.TweenManager.AddActiveTween (DG.Tweening.Tween t) (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Core/TweenManager.cs:734)
DG.Tweening.Core.TweenManager.GetTweener[Vector3,Vector3,VectorOptions] () (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Core/TweenManager.cs:97)
DG.Tweening.DOTween.ApplyTo[Vector3,Vector3,VectorOptions] (DG.Tweening.Core.DOGetter`1 getter, DG.Tweening.Core.DOSetter`1 setter, Vector3 endValue, Single duration, DG.Tweening.Plugins.Core.ABSTweenPlugin`3 plugin) (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/DOTween.cs:881)
DG.Tweening.DOTween.To (DG.Tweening.Core.DOGetter`1 getter, DG.Tweening.Core.DOSetter`1 setter, Vector3 endValue, Single duration) (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/DOTween.cs:327)
DG.Tweening.ShortcutExtensions.DOMove (UnityEngine.Transform target, Vector3 endValue, Single duration, Boolean snapping) (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/ShortcutExtensions.cs:370)
IndexOutOfRangeException: Array index is out of range.
DG.Tweening.Core.TweenManager.Update (UpdateType updateType, Single deltaTime, Single independentTime) (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Core/TweenManager.cs:335)
DG.Tweening.Core.DOTweenComponent.Update () (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Core/DOTweenComponent.cs:50)
-
Hi,
This is a weird issue that I can't reproduce. Can you create a barebone example that replicates it and attach it here, so I can check it out?
-
Please find project attached.
-
Thank you! I will test it tomorrow.
By the way, I forgot to mention that in the meantime if you auto-increase the capacity at startup (following the instructions of the initial warning log) you will avoid this error.
-
This version I'm attaching should fix it. Could you test it in your main project too, just to be on the safe side?