View Issue Details

IDProjectCategoryLast Update
0026349AI War 2Bug - OtherFeb 13, 2022 5:13 pm
ReporterTuntematon Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.801 Load Estimates And Unit Encyclopedia 
Fixed in VersionBeta 3.802 New Challengers Approach 
Summary0026349: Pressing swap ship still loops this error
DescriptionGetting this error still, when pressing swap, it still causes this error.

2/13/2022 7:39:08 PM 3.801 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 <246065fbebb4478e83cc66fddbeda203>: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 <246065fbebb4478e83cc66fddbeda203>: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 <246065fbebb4478e83cc66fddbeda203>:0
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x0003c] in <246065fbebb4478e83cc66fddbeda203>:0
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00000] in <246065fbebb4478e83cc66fddbeda203>:0
  at Arcen.AIW2.External.Window_ModalSwapFleetMembers.PopulateFreeFormControls (Arcen.Universal.ArcenUI_SetOfCreateElementDirectives Set) [0x00000] in <1a34fe14cd5345f8bef649066a13190a>:0
  at Arcen.Universal.ArcenUI_Window.OnUpdateWindow (System.Single AddedDeltaTime, System.Boolean InvertMouseWheelUIScrolling, System.Int32 scrollSpeedForMouseUI) [0x00000] in <246065fbebb4478e83cc66fddbeda203>:0
  at Arcen.Universal.ArcenUI.OnUpdateFromMainThread () [0x00000] in <246065fbebb4478e83cc66fddbeda203>:0
  at Arcen.Universal.Engine_Universal.OnUpdateEngineUniversalFromMainThread () [0x00000] in <246065fbebb4478e83cc66fddbeda203>:0
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <1d8fa58cdefd4d7d8f7629bc2753b219>:0
  at ArcenGameController.Update () [0x00000] in <63e17e5173fc4267999e44b49e187469>:0
TagsNo tags attached.

Relationships

related to 0026329 resolvedBadgerBadger Pressing swap ship causes looping error 

Activities

Tuntematon

Feb 13, 2022 12:43 pm

reporter  

ArcenDebugLog.txt (405,277 bytes)

BadgerBadger

Feb 13, 2022 2:26 pm

manager   ~0064380

Any ideas? All the Sort calls in there are in try/catch blocks

Chris_McElligottPark

Feb 13, 2022 5:13 pm

administrator   ~0064388

Thanks!

* Unsure why the fleet member swap window had an error that was punching through a try/catch statement, but went ahead and just made a ui-only variable for caching prior to sort, which leads to better performance and results than using the try/catch anyhow. This should solve the problem.

Issue History

Date Modified Username Field Change
Feb 13, 2022 12:43 pm Tuntematon New Issue
Feb 13, 2022 12:43 pm Tuntematon File Added: ArcenDebugLog.txt
Feb 13, 2022 12:43 pm Tuntematon Relationship added related to 0026329
Feb 13, 2022 12:43 pm Tuntematon Summary Swaping unit still loops this error => Pressing swap ship still loops this error
Feb 13, 2022 2:26 pm BadgerBadger Assigned To => Chris_McElligottPark
Feb 13, 2022 2:26 pm BadgerBadger Status new => assigned
Feb 13, 2022 2:26 pm BadgerBadger Note Added: 0064380
Feb 13, 2022 5:13 pm Chris_McElligottPark Status assigned => resolved
Feb 13, 2022 5:13 pm Chris_McElligottPark Resolution open => fixed
Feb 13, 2022 5:13 pm Chris_McElligottPark Fixed in Version => Beta 3.802 New Challengers Approach
Feb 13, 2022 5:13 pm Chris_McElligottPark Note Added: 0064388