View Issue Details

IDProjectCategoryLast Update
0026427AI War 2Bug - GameplayFeb 24, 2022 2:47 pm
ReporterLord Of Nothing Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.804 Bug Smooshing 
Fixed in VersionBeta 3.903 Multiplayer Polish 
Summary0026427: Error when attempting to swap ship lines.
DescriptionIn the attached save Pre FRS, if you attempt to swap any shipline using the regular Swap button, rather than Swap all or Multiswap (which both work fine), you get an error spam. If you ignore the error, the actual swap appears to work.

2/17/2022 6:39:09 PM 3.804 SINGLEP List Sort Error: System.ArgumentException: Bogus IComparer:Arcen.Universal.FunctorComparer`1[Arcen.AIW2.Core.Fleet]
  at Arcen.Universal.Collections.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer (System.Object comparer) [0x0001d] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00012] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x0003c] in <202e62c518b24a6aa82c1650807a9296>:0
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00000] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.AIW2.External.Window_ModalSwapFleetMembers.PopulateFreeFormControls (Arcen.Universal.ArcenUI_SetOfCreateElementDirectives Set) [0x00000] in <889c1884bbe44839ba905fd17ce877c3>:0
  at Arcen.Universal.ArcenUI_Window.OnUpdateWindow (System.Single AddedDeltaTime, System.Boolean InvertMouseWheelUIScrolling, System.Int32 scrollSpeedForMouseUI) [0x00000] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.Universal.ArcenUI.OnUpdateFromMainThread () [0x00000] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.Universal.Engine_Universal.OnUpdateEngineUniversalFromMainThread () [0x00000] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <5170314c3d3445ad976b1cc49a9314d5>:0
  at ArcenGameController.Update () [0x00000] in <63e17e5173fc4267999e44b49e187469>:0
2/17/2022 6:39:12 PM 3.804 SINGLEP List Sort Error: System.ArgumentException: Bogus IComparer:Arcen.Universal.FunctorComparer`1[Arcen.AIW2.Core.Fleet]
  at Arcen.Universal.Collections.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer (System.Object comparer) [0x0001d] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00012] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x0003c] in <202e62c518b24a6aa82c1650807a9296>:0
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00000] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.AIW2.External.Window_ModalSwapFleetMembers.PopulateFreeFormControls (Arcen.Universal.ArcenUI_SetOfCreateElementDirectives Set) [0x00000] in <889c1884bbe44839ba905fd17ce877c3>:0
  at Arcen.Universal.ArcenUI_Window.OnUpdateWindow (System.Single AddedDeltaTime, System.Boolean InvertMouseWheelUIScrolling, System.Int32 scrollSpeedForMouseUI) [0x00000] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.Universal.ArcenUI.OnUpdateFromMainThread () [0x00000] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.Universal.Engine_Universal.OnUpdateEngineUniversalFromMainThread () [0x00000] in <202e62c518b24a6aa82c1650807a9296>:0
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <5170314c3d3445ad976b1cc49a9314d5>:0
  at ArcenGameController.Update () [0x00000] in <63e17e5173fc4267999e44b49e187469>:0
TagsNo tags attached.

Activities

Lord Of Nothing

Feb 17, 2022 1:42 pm

reporter  

Pre FRS.save (925,750 bytes)

Chris_McElligottPark

Feb 24, 2022 2:40 pm

administrator   ~0064818

Verified!

Chris_McElligottPark

Feb 24, 2022 2:47 pm

administrator   ~0064819

Thanks!

* Fixed a bug in the fleet swap window where the comparison was bad and would cause some endless errors if there were multiple valid fleets without any key bound to them.

Issue History

Date Modified Username Field Change
Feb 17, 2022 1:42 pm Lord Of Nothing New Issue
Feb 17, 2022 1:42 pm Lord Of Nothing File Added: Pre FRS.save
Feb 24, 2022 2:40 pm Chris_McElligottPark Note Added: 0064818
Feb 24, 2022 2:47 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Feb 24, 2022 2:47 pm Chris_McElligottPark Status new => resolved
Feb 24, 2022 2:47 pm Chris_McElligottPark Resolution open => fixed
Feb 24, 2022 2:47 pm Chris_McElligottPark Fixed in Version => Beta 3.903 Multiplayer Polish
Feb 24, 2022 2:47 pm Chris_McElligottPark Note Added: 0064819