|
exception.txt (3,211 bytes)
1/12/2020 1:05:21 PM
Error at planet entities display update stage 100: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.SpecialEntityType SpecialType, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00080] in <907ba1a81c114df7917387c9b7011088>:0
at Arcen.AIW2.Core.World_AIW2.DoForEntities (Arcen.AIW2.Core.SpecialEntityType SpecialType, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x0001c] in <907ba1a81c114df7917387c9b7011088>:0
at GalaxyMapPlanet.UpdateEntitiesShownAtPlanetDirectly (System.Boolean ForceUpdateAll) [0x002b2] in <3d51acf4fb354a45813cac5f1101f51a>: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 <a4d5b0db11d849b18d7c944b5f8fe508>:0
at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <a4d5b0db11d849b18d7c944b5f8fe508>:0
at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <a4d5b0db11d849b18d7c944b5f8fe508>:0
at GalaxyMapPlanet.UpdateEntitiesShownAtPlanetDirectly (System.Boolean ForceUpdateAll) [0x00000] in <3d51acf4fb354a45813cac5f1101f51a>:0
at GalaxyMapPlanet.UpdateEntitiesShownAtPlanetInternal (Arcen.AIW2.Core.Planet p, System.Boolean isSideTextHid, System.Boolean areSpecialEntitiesHid) [0x00000] in <3d51acf4fb354a45813cac5f1101f51a>:0
at Arcen.AIW2.Core.GalaxyMapPlanetBase.UpdateEntitiesShownAtPlanet (System.Boolean IsTextHidden, System.Boolean AreIconsHidden) [0x00000] in <907ba1a81c114df7917387c9b7011088>:0
at Arcen.AIW2.Core.GalaxyMapPlanetBase.UpdateGalaxyMapVisualsIfNeeded (System.Boolean IsTextHidden, System.Boolean AreIconsHidden) [0x00000] in <907ba1a81c114df7917387c9b7011088>:0
at Arcen.AIW2.Core.Planet.UpdateVisualObj (System.Boolean IsCurrentPlanet, System.Boolean IsTextHidden, System.Boolean AreIconsHidden) [0x00000] in <907ba1a81c114df7917387c9b7011088>:0
at Arcen.AIW2.Core.Galaxy.UpdateVisuals () [0x00000] in <907ba1a81c114df7917387c9b7011088>:0
at PresentationLayer_AIW2.UpdateGameController () [0x00000] in <3d51acf4fb354a45813cac5f1101f51a>:0
at Arcen.AIW2.Core.Engine_AIW2.OnUpdate_GameSpecificEngine () [0x00000] in <907ba1a81c114df7917387c9b7011088>:0
at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in <a4d5b0db11d849b18d7c944b5f8fe508>:0
at ArcenGameController.Update () [0x00000] in <e6e5a3bb9cbe4033b68586a246cf0d60>:0
|
|
Thanks!
* Fixed a variety of possible exceptions that could happen during loops through certain entity lists if the list changed during the loop. This is somewhat a side effect of more parallelism, but was already a thing that could happen prior to the most recent updates just because of what we already had in parallel. The game already was guarding against the most common cases where this could happen, but not another few subsets. It now guards against them all. |