View Issue Details

IDProjectCategoryLast Update
0025662AI War 2GUIOct 15, 2021 8:09 pm
ReporterDaniexpert Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.710 Hotfixes Serialization and Performance 
Fixed in VersionBeta 3.711 More Fixes 
Summary0025662: Error on button click: System.InvalidCastException
DescriptionWhen you click on the button to destroy distan members of fleet (hotkey 4) you get the exception.

10/16/2021 1:04:11 AM 3.710 SINGLEP Error on button click: System.InvalidCastException: Specified cast is not valid.
  at Arcen.AIW2.External.Window_FleetManagementSidebarPopout+bDestroyFleetMembersOnOtherPlanets.HandleClick_Subclass (MouseHandlingInput input) [0x000d5] in <c2c62bbee65e44ac858ffa7a071d8bb5>:0
  at Arcen.AIW2.External.ButtonAbstractBase.HandleClick (MouseHandlingInput input) [0x0000f] in <c2c62bbee65e44ac858ffa7a071d8bb5>:0
  at Arcen.Universal.ArcenUI_Button.OnClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00029] in <47f3366c5842404d971d4f220ccd6810>:0
  at Arcen.Universal.ArcenUI_Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00015] in <47f3366c5842404d971d4f220ccd6810>:0
TagsNo tags attached.

Activities

Chris_McElligottPark

Oct 15, 2021 8:09 pm

administrator   ~0062958

Thanks!

* Updated our custom implementation of Dictionary to work a bit better, so that now when doing a foreach over them, it will have a compile-time error on invalid casts, rather than a runtime one. This is how it has always been before, but it was a bit trickier than it sounds.
** It turns out we were only down to one last one of these anyhow, in the fleet management window. At any rate, that one is now fixed!

Issue History

Date Modified Username Field Change
Oct 15, 2021 7:05 pm Daniexpert New Issue
Oct 15, 2021 8:09 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Oct 15, 2021 8:09 pm Chris_McElligottPark Status new => resolved
Oct 15, 2021 8:09 pm Chris_McElligottPark Resolution open => fixed
Oct 15, 2021 8:09 pm Chris_McElligottPark Fixed in Version => Beta 3.711 More Fixes
Oct 15, 2021 8:09 pm Chris_McElligottPark Note Added: 0062958