Closed proepkes closed 6 years ago
Started a new project in Unity 2018.01, set up the example database and started the example scene
The green units appear and then the game pauses because of the following exception:
IndexOutOfRangeException: Array index is out of range. FastCollections.FastList`1[System.Int32].get_Item (Int32 index) (at Assets/LockstepFramework/Core/Utility/FastCollections-master/FastList.cs:150) Lockstep.PhysicsTool.CircleCast (Vector2d position, Int64 radius, FastCollections.FastList`1 output) (at Assets/LockstepFramework/Core/Simulation/Physics/Core/PhysicsTool.cs:31) Lockstep.InfluenceManager.ScanAll (Vector2d position, Int64 radius, System.Func`2 agentConditional, System.Func`2 bucketConditional, FastCollections.FastList`1 output) (at Assets/LockstepFramework/Core/Simulation/Grid/Influence/InfluenceManager.cs:82) Lockstep.InfluenceManager.Scan (Vector2d position, Int64 radius, System.Func`2 agentConditional, System.Func`2 bucketConditional) (at Assets/LockstepFramework/Core/Simulation/Grid/Influence/InfluenceManager.cs:67) Lockstep.Scan.DoScan () (at Assets/LockstepFramework/Core/Game/Abilities/Essential/Scan.cs:673) Lockstep.Scan.ScanAndEngage () (at Assets/LockstepFramework/Core/Game/Abilities/Essential/Scan.cs:619) Lockstep.Scan.BehaveWithNoTarget () (at Assets/LockstepFramework/Core/Game/Abilities/Essential/Scan.cs:359) Lockstep.Scan.OnSimulate () (at Assets/LockstepFramework/Core/Game/Abilities/Essential/Scan.cs:197) Lockstep.Ability.Simulate () (at Assets/LockstepFramework/Core/Game/Abilities/Ability.cs:143) Lockstep.AbilityManager.Simulate () (at Assets/LockstepFramework/Core/Game/Abilities/AbilityManager.cs:50) Lockstep.LSAgent.Simulate () (at Assets/LockstepFramework/Core/Game/Agents/LSAgent.cs:401) Lockstep.AgentController.Simulate () (at Assets/LockstepFramework/Core/Game/Agents/AgentControllerSystem/AgentController.cs:158) Lockstep.LockstepManager.Simulate () (at Assets/LockstepFramework/Core/Game/Managers/LockstepManager.cs:220) Lockstep.GameManager.FixedUpdate () (at Assets/LockstepFramework/Core/Game/Managers/GameManager/GameManager.cs:23)
https://i.imgur.com/Qx3E1cL.png
Same happens in Unity 2017.4
Started a new project in Unity 2018.01, set up the example database and started the example scene
The green units appear and then the game pauses because of the following exception:
https://i.imgur.com/Qx3E1cL.png
Same happens in Unity 2017.4