View Issue Details

IDProjectCategoryLast Update
0025529AI War 2Crash/ExceptionAug 26, 2021 9:24 am
ReporterZweihand Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.603 Last of the Recent Known Regressions 
Fixed in VersionBeta 3.604 Puppy Proofing, Part 1 
Summary0025529: Exception error due to tooltip being generated out of bounds.
Description8/26/2021 2:32:34 AM 3.603 SINGLEP Exception in entity tooltip text generation at stage 5460: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 <695d1cc93cca45069c528c15c9fdd749>:0
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo.GetTextForEntity (Arcen.Universal.ArcenDoubleCharacterBuffer buffer, Arcen.AIW2.Core.GameEntity_Base EntityBase, Arcen.AIW2.Core.Fleet+Membership MembershipBase, Arcen.AIW2.Core.GameEntityTypeData TypeDataOrNull, Arcen.AIW2.Core.Fleet FleetToUseOrNull, System.String AltTextColorIfUsed, System.String AltTextInPlaceOfFleetAndOwnerOrBlank, System.Int32 OptionalCountToShow, Arcen.AIW2.Core.Faction ForFactionOrNull, System.Byte OptionalForMarkLevel, Arcen.AIW2.Core.FromSidebarType IsFromSidebarType, Arcen.AIW2.External.ShipExtraDetailFlags DetailFlags, System.Single PositionScaleMultiplier, System.Boolean IsBeingDrawnInPopupWindowRatherThanTooltip) [0x13460] in <80a4d6a705464ebe881e1f2d07657924>:0
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00000] in <ff81a408864a49fca7a28283640ebcf5>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <ff81a408864a49fca7a28283640ebcf5>:0
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo.GetTextForEntity (Arcen.Universal.ArcenDoubleCharacterBuffer buffer, Arcen.AIW2.Core.GameEntity_Base EntityBase, Arcen.AIW2.Core.Fleet+Membership MembershipBase, Arcen.AIW2.Core.GameEntityTypeData TypeDataOrNull, Arcen.AIW2.Core.Fleet FleetToUseOrNull, System.String AltTextColorIfUsed, System.String AltTextInPlaceOfFleetAndOwnerOrBlank, System.Int32 OptionalCountToShow, Arcen.AIW2.Core.Faction ForFactionOrNull, System.Byte OptionalForMarkLevel, Arcen.AIW2.Core.FromSidebarType IsFromSidebarType, Arcen.AIW2.External.ShipExtraDetailFlags DetailFlags, System.Single PositionScaleMultiplier, System.Boolean IsBeingDrawnInPopupWindowRatherThanTooltip) [0x00000] in <80a4d6a705464ebe881e1f2d07657924>:0
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo.GetTextForEntity (Arcen.Universal.ArcenDoubleCharacterBuffer buffer, Arcen.AIW2.Core.GameEntity_Base EntityBase, Arcen.AIW2.Core.Fleet+Membership MembershipBase, Arcen.AIW2.Core.GameEntityTypeData TypeDataOrNull, System.Int32 OptionalCountToShow, Arcen.AIW2.Core.Faction ForFactionOrNull, System.Byte OptionalForMarkLevel, Arcen.AIW2.Core.FromSidebarType IsFromSidebarType, Arcen.AIW2.External.ShipExtraDetailFlags DetailFlags, System.Single PositionScaleMultiplier, System.Boolean IsBeingDrawnInPopupWindowRatherThanTooltip) [0x00000] in <80a4d6a705464ebe881e1f2d07657924>:0
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo+bPanel.GetTextToRender (Arcen.Universal.ArcenDoubleCharacterBuffer buffer) [0x00000] in <80a4d6a705464ebe881e1f2d07657924>:0
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo+bPanel.UpdateContentFromVolatile (Arcen.Universal.ArcenUIWrapperedUnityImage Image, Arcen.Universal.ArcenUI_Image+SubImageGroup _SubImages, Arcen.Universal.SubTextGroup _SubTexts) [0x00000] in <80a4d6a705464ebe881e1f2d07657924>:0
  at Arcen.Universal.ArcenUI_ImageButton.OnUpdateVolatileDataFromMainThread () [0x00000] in <ff81a408864a49fca7a28283640ebcf5>:0
  at Arcen.Universal.ArcenUI_Window.OnUpdateVolatileDataFromMainThread () [0x00000] in <ff81a408864a49fca7a28283640ebcf5>:0
  at Arcen.Universal.ArcenUI.OnUpdateVolatileDataFromMainThread () [0x00000] in <ff81a408864a49fca7a28283640ebcf5>:0
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in <ff81a408864a49fca7a28283640ebcf5>:0
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <22eb365887374cbca423dc3517ff18be>:0
  at ArcenGameController.Update () [0x00000] in <a6cba12c7f0b4f47a1ff69cb43a03552>:0
TagsNo tags attached.

Activities

Chris_McElligottPark

Aug 26, 2021 9:24 am

administrator   ~0062775

Thanks!

* Could not find to fix the error "Exception in entity tooltip text generation at stage 5460", as it was covering too broad a spectrum of code by accident. That code has been instrumented further, so we'll get a better and more informative error next time this happens.

Issue History

Date Modified Username Field Change
Aug 26, 2021 5:33 am Zweihand New Issue
Aug 26, 2021 9:24 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Aug 26, 2021 9:24 am Chris_McElligottPark Status new => resolved
Aug 26, 2021 9:24 am Chris_McElligottPark Resolution open => fixed
Aug 26, 2021 9:24 am Chris_McElligottPark Fixed in Version => Beta 3.604 Puppy Proofing, Part 1
Aug 26, 2021 9:24 am Chris_McElligottPark Note Added: 0062775