Lukas
New member
We are getting error reports from built steam game (we send this from game to our internal report system when any error is thrown in unity) that BehaviorManager has gotten error, no idea why or how to reproduce it, since as I said, it did not happen to me, but there are several errors received from built game.
Could we please somehow handle and check if some index out of range could really happen? As it did happen
We are using 1.7.4 (as the latest ones did not have any fixes/additions we needed)
Code:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <6aa56e57ab504395b555cf3ed50fa53d>:0)
BehaviorDesigner.Runtime.BehaviorManager.ReevaluateConditionalTasks (BehaviorDesigner.Runtime.BehaviorManager+BehaviorTree behaviorTree) (at <97aa2077f6cf417a80510e3ca36ba81b>:0)
BehaviorDesigner.Runtime.BehaviorManager.Tick (BehaviorDesigner.Runtime.BehaviorManager+BehaviorTree behaviorTree) (at <97aa2077f6cf417a80510e3ca36ba81b>:0)
BehaviorDesigner.Runtime.BehaviorManager.Tick () (at <97aa2077f6cf417a80510e3ca36ba81b>:0)
BehaviorDesigner.Runtime.BehaviorManager.Update () (at <97aa2077f6cf417a80510e3ca36ba81b>:0)
Could we please somehow handle and check if some index out of range could really happen? As it did happen

We are using 1.7.4 (as the latest ones did not have any fixes/additions we needed)