View Issue Details

IDProjectCategoryLast Update
0026704AI War 2Bug - OtherApr 4, 2022 5:22 pm
Reporterhabakuk Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version4.004 Easy There, Hack Response 
Fixed in Version4.011 Multiplayer Stability 
Summary0026704: Debug log
DescriptionDebug message popped up in my game during a CPA. I didn't notice anything weird.
TagsNo tags attached.

Activities

habakuk

Mar 11, 2022 7:06 pm

reporter  

ArcenDebugLog.txt (3,273,432 bytes)

BadgerBadger

Mar 11, 2022 7:15 pm

manager   ~0065387

3/12/2022 12:17:53 AM 4.004 SINGLEP ArcenUI_Window.OnUpdateWindow Error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.List`1+Enumerator[T].MoveNext () [0x0001b] in <b8ed8368119c4fb0857c2d0f0983bb06>:0
  at Arcen.AIW2.Core.Fleet.DoForMemberGroupsSorted_NonSim (Arcen.AIW2.Core.FleetMembership+ProcessorDelegate Processor) [0x000d7] in <0c437b7175b3425aa970e5c43100b9a7>:0
  at Arcen.AIW2.Core.Faction+<>c__DisplayClass204_1.<GetCanUnlockTech>b__0 (Arcen.AIW2.Core.Fleet fleet) [0x00001] in <0c437b7175b3425aa970e5c43100b9a7>:0
  at Arcen.AIW2.Core.World_AIW2.DoForFleets (Arcen.AIW2.Core.Faction FactionFleetMustBelongTo, Arcen.AIW2.Core.FleetStatus RequiredStatus, Arcen.AIW2.Core.Fleet+ProcessorDelegate Processor) [0x00090] in <0c437b7175b3425aa970e5c43100b9a7>:0
  at Arcen.AIW2.Core.Faction.GetCanUnlockTech (Arcen.AIW2.Core.TechUpgrade Upgrade, System.Boolean RejectIfBenefitsNothing, System.Int32& NextUnlockCost, System.Boolean ThisUnlockSpendsScienceOrOtherResource) [0x001b4] in <0c437b7175b3425aa970e5c43100b9a7>:0
  at Arcen.AIW2.Core.Faction.GetCanUnlockTech (Arcen.AIW2.Core.TechUpgrade Upgrade, System.Boolean RejectIfBenefitsNothing, System.Int32& NextUnlockCost) [0x00001] in <0c437b7175b3425aa970e5c43100b9a7>:0
  at Arcen.AIW2.External.Window_InGameSidebarScience+customParent.OnUpdateScience (System.Single& currentY) [0x00078] in <5ed3582f790041ad9d21755f22bd3039>:0
  at Arcen.AIW2.External.Window_InGameSidebarScience+customParent.OnUpdate () [0x00136] in <5ed3582f790041ad9d21755f22bd3039>:0
  at Arcen.Universal.ArcenUI_CustomUI.OnUpdate_Subclass (System.Single DeltaTime) [0x00073] in <b8ed8368119c4fb0857c2d0f0983bb06>:0
  at Arcen.Universal.ArcenUI_Element.UpdateFromUI (System.Boolean ShouldDoFullUpdate, System.Single DeltaTime) [0x000f4] in <b8ed8368119c4fb0857c2d0f0983bb06>:0
  at Arcen.Universal.ArcenUI_Window.OnUpdateWindow (System.Single AddedDeltaTime, System.Boolean InvertMouseWheelUIScrolling, System.Int32 scrollSpeedForMouseUI) [0x001e3] in <b8ed8368119c4fb0857c2d0f0983bb06>:0
3/12/2022 12:17:53 AM 4.004 SINGLEP DELAYED10 TID12 Hit exception during HandleAutobuildForSpecificFaction debugCode 2330 on faction UN System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.List`1[T].get_Item (System.Int32 index) [0x00071] in <b8ed8368119c4fb0857c2d0f0983bb06>:0
  at Arcen.AIW2.Core.Fleet.DoForMemberGroupsSorted_NonSim (Arcen.AIW2.Core.FleetMembership+ProcessorDelegate Processor) [0x00123] in <0c437b7175b3425aa970e5c43100b9a7>:0
  at Arcen.AIW2.External.PlayerAutobuilding+<>c__DisplayClass11_1.<HandleAutobuild_ForSpecificFaction>b__0 (Arcen.AIW2.Core.GameEntity_Squad commandStation) [0x002e2] in <c018e4ebfe6446c4b81466e8e14a70c4>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00068] in <0c437b7175b3425aa970e5c43100b9a7>:0
  at Arcen.AIW2.Core.Faction.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00033] in <0c437b7175b3425aa970e5c43100b9a7>:0
  at Arcen.AIW2.External.PlayerAutobuilding.HandleAutobuild_ForSpecificFaction (Arcen.AIW2.Core.Faction aPlayerFaction, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00256] in <c018e4ebfe6446c4b81466e8e14a70c4>:0
3/12/2022 12:17:53 AM 4.004 SINGLEP DELAYED11 TID16 Hit exception during HandleAutobuildForSpecificFaction debugCode 2330 on faction UN System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.List`1[T].get_Item (System.Int32 index) [0x00071] in <b8ed8368119c4fb0857c2d0f0983bb06>:0
  at Arcen.AIW2.Core.Fleet.DoForMemberGroupsSorted_NonSim (Arcen.AIW2.Core.FleetMembership+ProcessorDelegate Processor) [0x00123] in <0c437b7175b3425aa970e5c43100b9a7>:0
  at Arcen.AIW2.External.PlayerAutobuilding+<>c__DisplayClass11_1.<HandleAutobuild_ForSpecificFaction>b__0 (Arcen.AIW2.Core.GameEntity_Squad commandStation) [0x002e2] in <c018e4ebfe6446c4b81466e8e14a70c4>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00068] in <0c437b7175b3425aa970e5c43100b9a7>:0
  at Arcen.AIW2.Core.Faction.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00033] in <0c437b7175b3425aa970e5c43100b9a7>:0
  at Arcen.AIW2.External.PlayerAutobuilding.HandleAutobuild_ForSpecificFaction (Arcen.AIW2.Core.Faction aPlayerFaction, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00256] in <c018e4ebfe6446c4b81466e8e14a70c4>:0

Do you have any of Limbo's recent autobuild stuff on?

habakuk

Mar 12, 2022 6:15 am

reporter   ~0065391

Not that I am aware of. It's a very simple game: Me against one AI (Diff 7) without any other factions. I only use standard autobuild options for engeneers etc. that have been available for a long time.

StarKelp

Mar 15, 2022 4:18 pm

developer   ~0065463

Do you recall if you were swapping fleetlines at the time, or had a shipline that creates temporary ships?

habakuk

Mar 16, 2022 6:50 am

reporter   ~0065475

Last edited: Mar 16, 2022 6:54 am

I don't think I was swapping fleetlines. I remember that the error popped up during a CPA, so there was a lot of fighting going on in various different places. Other than that nothing remarkable.

Unfortunately I don't have a savegame so i can't try to reproduce it ... I can only say that i continued the game for a few hours (actually I'm still playing it) and the error didn't occour a second time.

slake-moth

Mar 23, 2022 12:10 am

reporter   ~0065555

No mods. No swapping. Tackle drones and the Orchid were active.

3/22/2022 11:52:26 PM 4.006 SINGLEP DELAYED21 TID28 Hit exception during HandleAutobuildForSpecificFaction debugCode 2330 on faction slake-moth System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.List`1+Enumerator[T].MoveNext () [0x0001b] in <cfcb8e57eb13440f9cec70be0c7990f5>:0
  at Arcen.AIW2.Core.Fleet.DoForMemberGroupsSorted_NonSim (Arcen.AIW2.Core.FleetMembership+ProcessorDelegate Processor) [0x000d7] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.External.PlayerAutobuilding+<>c__DisplayClass11_1.<HandleAutobuild_ForSpecificFaction>b__0 (Arcen.AIW2.Core.GameEntity_Squad commandStation) [0x002e2] in <512c9eaa88ea433da29135df4e54e26c>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00068] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.Core.Faction.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00033] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.External.PlayerAutobuilding.HandleAutobuild_ForSpecificFaction (Arcen.AIW2.Core.Faction aPlayerFaction, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00256] in <512c9eaa88ea433da29135df4e54e26c>:0
3/22/2022 11:52:26 PM 4.006 SINGLEP DELAYED22 TID23 Hit exception during HandleAutobuildForSpecificFaction debugCode 2330 on faction slake-moth System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.List`1[T].get_Item (System.Int32 index) [0x00071] in <cfcb8e57eb13440f9cec70be0c7990f5>:0
  at Arcen.AIW2.Core.Fleet.DoForMemberGroupsSorted_NonSim (Arcen.AIW2.Core.FleetMembership+ProcessorDelegate Processor) [0x00123] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.External.PlayerAutobuilding+<>c__DisplayClass11_1.<HandleAutobuild_ForSpecificFaction>b__0 (Arcen.AIW2.Core.GameEntity_Squad commandStation) [0x002e2] in <512c9eaa88ea433da29135df4e54e26c>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00068] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.Core.Faction.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00033] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.External.PlayerAutobuilding.HandleAutobuild_ForSpecificFaction (Arcen.AIW2.Core.Faction aPlayerFaction, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00256] in <512c9eaa88ea433da29135df4e54e26c>:0
3/22/2022 11:52:26 PM 4.006 SINGLEP DELAYED23 TID43 Hit exception during HandleAutobuildForSpecificFaction debugCode 2330 on faction slake-moth System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.List`1[T].get_Item (System.Int32 index) [0x00071] in <cfcb8e57eb13440f9cec70be0c7990f5>:0
  at Arcen.AIW2.Core.Fleet.DoForMemberGroupsSorted_NonSim (Arcen.AIW2.Core.FleetMembership+ProcessorDelegate Processor) [0x00123] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.External.PlayerAutobuilding+<>c__DisplayClass11_1.<HandleAutobuild_ForSpecificFaction>b__0 (Arcen.AIW2.Core.GameEntity_Squad commandStation) [0x002e2] in <512c9eaa88ea433da29135df4e54e26c>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00068] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.Core.Faction.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00033] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.External.PlayerAutobuilding.HandleAutobuild_ForSpecificFaction (Arcen.AIW2.Core.Faction aPlayerFaction, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00256] in <512c9eaa88ea433da29135df4e54e26c>:0
3/22/2022 11:52:27 PM 4.006 SINGLEP DELAYED24 TID15 Hit exception during HandleAutobuildForSpecificFaction debugCode 2330 on faction slake-moth System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.List`1[T].get_Item (System.Int32 index) [0x00071] in <cfcb8e57eb13440f9cec70be0c7990f5>:0
  at Arcen.AIW2.Core.Fleet.DoForMemberGroupsSorted_NonSim (Arcen.AIW2.Core.FleetMembership+ProcessorDelegate Processor) [0x00123] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.External.PlayerAutobuilding+<>c__DisplayClass11_1.<HandleAutobuild_ForSpecificFaction>b__0 (Arcen.AIW2.Core.GameEntity_Squad commandStation) [0x002e2] in <512c9eaa88ea433da29135df4e54e26c>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00068] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.Core.Faction.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00033] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.External.PlayerAutobuilding.HandleAutobuild_ForSpecificFaction (Arcen.AIW2.Core.Faction aPlayerFaction, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00256] in <512c9eaa88ea433da29135df4e54e26c>:0

slake-moth

Mar 23, 2022 12:14 am

reporter   ~0065556

Forgot to include the ArcenUI_Window.OnUpdateWindow Error: System.IndexOutOfRangeException error that occurred first.

3/22/2022 11:52:26 PM 4.006 SINGLEP ArcenUI_Window.OnUpdateWindow Error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.List`1+Enumerator[T].MoveNext () [0x0001b] in <cfcb8e57eb13440f9cec70be0c7990f5>:0
  at Arcen.AIW2.Core.Fleet.DoForMemberGroupsSorted_NonSim (Arcen.AIW2.Core.FleetMembership+ProcessorDelegate Processor) [0x000d7] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.Core.Faction+<>c__DisplayClass204_1.<GetCanUnlockTech>b__0 (Arcen.AIW2.Core.Fleet fleet) [0x00001] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.Core.World_AIW2.DoForFleets (Arcen.AIW2.Core.Faction FactionFleetMustBelongTo, Arcen.AIW2.Core.FleetStatus RequiredStatus, Arcen.AIW2.Core.Fleet+ProcessorDelegate Processor) [0x00090] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.Core.Faction.GetCanUnlockTech (Arcen.AIW2.Core.TechUpgrade Upgrade, System.Boolean RejectIfBenefitsNothing, System.Int32& NextUnlockCost, System.Boolean ThisUnlockSpendsScienceOrOtherResource) [0x001b4] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.Core.Faction.GetCanUnlockTech (Arcen.AIW2.Core.TechUpgrade Upgrade, System.Boolean RejectIfBenefitsNothing, System.Int32& NextUnlockCost) [0x00001] in <6d8e39d74ff24478bdb5c1a529f1cb19>:0
  at Arcen.AIW2.External.Window_InGameSidebarScience+customParent.OnUpdateScience (System.Single& currentY) [0x00078] in <e715fc0df330434091cad7823e97fead>:0
  at Arcen.AIW2.External.Window_InGameSidebarScience+customParent.OnUpdate () [0x00136] in <e715fc0df330434091cad7823e97fead>:0
  at Arcen.Universal.ArcenUI_CustomUI.OnUpdate_Subclass (System.Single DeltaTime) [0x00073] in <cfcb8e57eb13440f9cec70be0c7990f5>:0
  at Arcen.Universal.ArcenUI_Element.UpdateFromUI (System.Boolean ShouldDoFullUpdate, System.Single DeltaTime) [0x000f4] in <cfcb8e57eb13440f9cec70be0c7990f5>:0
  at Arcen.Universal.ArcenUI_Window.OnUpdateWindow (System.Single AddedDeltaTime, System.Boolean InvertMouseWheelUIScrolling, System.Int32 scrollSpeedForMouseUI) [0x001e3] in <cfcb8e57eb13440f9cec70be0c7990f5>:0

Chris_McElligottPark

Apr 4, 2022 5:22 pm

administrator   ~0065738

Thanks!

* Fixed a number of places in the code that were calling a non-threadsafe for-ui-only method on fleets, which has been renamed to be even more clear it should never be called except from the UI.
** Also hardened that code a bit for threading errors just in case.
** The alternative code, which is what was supposed to be called, now is -- and that's much higher-performance code in general, so makes a few parts of the sim, autobuild, and otherwise all faster.

Issue History

Date Modified Username Field Change
Mar 11, 2022 7:06 pm habakuk New Issue
Mar 11, 2022 7:06 pm habakuk File Added: ArcenDebugLog.txt
Mar 11, 2022 7:15 pm BadgerBadger Note Added: 0065387
Mar 12, 2022 6:15 am habakuk Note Added: 0065391
Mar 15, 2022 4:18 pm StarKelp Note Added: 0065463
Mar 16, 2022 6:50 am habakuk Note Added: 0065475
Mar 16, 2022 6:54 am habakuk Note Edited: 0065475
Mar 23, 2022 12:10 am slake-moth Note Added: 0065555
Mar 23, 2022 12:14 am slake-moth Note Added: 0065556
Apr 4, 2022 5:22 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Apr 4, 2022 5:22 pm Chris_McElligottPark Status new => resolved
Apr 4, 2022 5:22 pm Chris_McElligottPark Resolution open => fixed
Apr 4, 2022 5:22 pm Chris_McElligottPark Fixed in Version => 4.011 Multiplayer Stability
Apr 4, 2022 5:22 pm Chris_McElligottPark Note Added: 0065738