View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0021262 | AI War 2 | Crash/Exception | Jun 3, 2019 3:07 pm | Jun 3, 2019 3:45 pm | |
Reporter | TechSY730 | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | BETA 0.863 Control of Capturables | ||||
Fixed in Version | BETA 0.864 Humanity Strikes Back | ||||
Summary | 0021262: Exception in DecollisionPlanning.DoEntityFramePlanningLogic_Collision | ||||
Description | Not sure what other logs you may need. Exception in DecollisionPlanning.DoEntityFramePlanningLogic_Collision. debug num 7. error: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00012] in <393978c180544fe3b6b8681a17c51c43>:0 at Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x0001f] in <393978c180544fe3b6b8681a17c51c43>:0 at Arcen.AIW2.External.DecollisionPlanning.CalculateDoIHaveACollisionAtLocation (Arcen.AIW2.Core.GameEntity_Squad entity, Arcen.Universal.ArcenPoint worldLocationToCheck, System.Int32 collisionRadius) [0x0003f] in <a2fb435ad8ed44c3a1623889f25abdba>:0 at Arcen.AIW2.External.DecollisionPlanning.DoEntityFramePlanningLogic_Collision (Arcen.AIW2.Core.GameEntity_Squad entity) [0x001c3] in <a2fb435ad8ed44c3a1623889f25abdba>:0 at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <b85ae4d84913489db6d35f346282a15b>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <b85ae4d84913489db6d35f346282a15b>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <b85ae4d84913489db6d35f346282a15b>:0 at Arcen.AIW2.External.DecollisionPlanning.DoEntityFramePlanningLogic_Collision (Arcen.AIW2.Core.GameEntity_Squad entity) [0x00000] in <a2fb435ad8ed44c3a1623889f25abdba>:0 at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <393978c180544fe3b6b8681a17c51c43>:0 at Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <393978c180544fe3b6b8681a17c51c43>:0 at Arcen.AIW2.External.DecollisionPlanning.Execute () [0x00000] in <a2fb435ad8ed44c3a1623889f25abdba>:0 at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <a2fb435ad8ed44c3a1623889f25abdba>:0 at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <a2fb435ad8ed44c3a1623889f25abdba>:0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 | ||||
Tags | No tags attached. | ||||
|
Thanks! * Put in two separate instances of defensive coding to prevent index out of range exceptions. ** One is in Inner_CheckForCollisionOrMakeEntityMove, and will simply identify the problem if we have one there, but it's unlikely we actually have on there. ** The second is in the three DoForEntities methods on EntityCollection, and basically make it so that if they try to index beyond what they should (because of cross-threading competition, most likely), then it will just gracefully continue on. |
Date Modified | Username | Field | Change |
---|---|---|---|
Jun 3, 2019 3:07 pm | TechSY730 | New Issue | |
Jun 3, 2019 3:45 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Jun 3, 2019 3:45 pm | Chris_McElligottPark | Status | new => resolved |
Jun 3, 2019 3:45 pm | Chris_McElligottPark | Resolution | open => fixed |
Jun 3, 2019 3:45 pm | Chris_McElligottPark | Fixed in Version | => BETA 0.864 Humanity Strikes Back |
Jun 3, 2019 3:45 pm | Chris_McElligottPark | Note Added: 0051787 |