View Issue Details

IDProjectCategoryLast Update
0025762AI War 2Crash/ExceptionNov 5, 2021 6:53 pm
ReporterEluthena Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.742 "Classic Map" For DLC1 
Fixed in VersionBeta 3.746 Phantom Ship Syndrome 
Summary0025762: Exception in HandleLODsAndShipPartAnimations, followed by a repeatable exception when hovering over a certain spot
DescriptionI was just playing normally and wasn't touching anything, then the initial exception below appeared. After ignoring it, the second/follow up exception below would keep appearing whenever I hovered over the spot circled in the second image. (Update: The follow up exception happens after a save reload as well)
TagsNo tags attached.

Relationships

related to 0025757 resolvedChris_McElligottPark Selection circles visible on galaxy map 
related to 0025760 resolvedChris_McElligottPark Bubble forcefields do not disappear when the generator is demolished, and reloading a save makes it worse 

Activities

Eluthena

Nov 1, 2021 8:34 pm

reporter  

Initial Exception.txt (1,514 bytes)   
11/1/2021 5:12:45 PM	3.742	SINGLEP	Exception in HandleLODsAndShipPartAnimations P2 stage 8000
System.IndexOutOfRangeException: 4 was larger than 4, the current effective size of the list.
  at Arcen.Universal.List`1[T].RemoveAt (System.Int32 index) [0x00035] in <c6fac3673f2e4076878f034fc63d934f>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.HandleLODsAndShipPartAnimations () [0x0026c] in <eddbcd3f24d3452bb602eaf5cb0daf71>: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 <c6fac3673f2e4076878f034fc63d934f>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <c6fac3673f2e4076878f034fc63d934f>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.HandleLODsAndShipPartAnimations () [0x00000] in <eddbcd3f24d3452bb602eaf5cb0daf71>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.RunPlanetUpdateTree () [0x00000] in <eddbcd3f24d3452bb602eaf5cb0daf71>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.RunUpdate () [0x00000] in <eddbcd3f24d3452bb602eaf5cb0daf71>:0 
  at ArcenMainGameVisuals.Update () [0x00000] in <111a5d12d1624b4984002314bba75b3a>:0 

Initial Exception.txt (1,514 bytes)   
Follow Up Exception.txt (4,049 bytes)   
11/1/2021 5:14:32 PM	3.742	SINGLEP	Exception in entity tooltip text generation at stage 5:System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo.GetTextForEntity (Arcen.Universal.ArcenDoubleCharacterBuffer buffer, Arcen.AIW2.Core.GameEntity_Squad relatedSquadOrNull, Arcen.AIW2.Core.FleetMembership 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) [0x002b8] in <67ec34e733814916a3512bb725c75ff5>: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 <c6fac3673f2e4076878f034fc63d934f>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <c6fac3673f2e4076878f034fc63d934f>:0 
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo.GetTextForEntity (Arcen.Universal.ArcenDoubleCharacterBuffer buffer, Arcen.AIW2.Core.GameEntity_Squad relatedSquadOrNull, Arcen.AIW2.Core.FleetMembership 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 <67ec34e733814916a3512bb725c75ff5>:0 
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo.GetTextForEntity (Arcen.Universal.ArcenDoubleCharacterBuffer buffer, Arcen.AIW2.Core.GameEntity_Squad relatedSquadOrNull, Arcen.AIW2.Core.FleetMembership 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 <67ec34e733814916a3512bb725c75ff5>:0 
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo+bPanel.GetTextToRender (Arcen.Universal.ArcenDoubleCharacterBuffer buffer) [0x00000] in <67ec34e733814916a3512bb725c75ff5>: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 <67ec34e733814916a3512bb725c75ff5>:0 
  at Arcen.Universal.ArcenUI_ImageButton.OnUpdateVolatileDataFromMainThread () [0x00000] in <c6fac3673f2e4076878f034fc63d934f>:0 
  at Arcen.Universal.ArcenUI_Window.OnUpdateVolatileDataFromMainThread () [0x00000] in <c6fac3673f2e4076878f034fc63d934f>:0 
  at Arcen.Universal.ArcenUI.OnUpdateVolatileDataFromMainThread () [0x00000] in <c6fac3673f2e4076878f034fc63d934f>:0 
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in <c6fac3673f2e4076878f034fc63d934f>:0 
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <dc5070622b7846c1905274bd83ba181e>:0 
  at ArcenGameController.Update () [0x00000] in <a6cba12c7f0b4f47a1ff69cb43a03552>:0 
Follow Up Exception.txt (4,049 bytes)   
1 - Initial Exception.png (2,606,731 bytes)

Eluthena

Nov 1, 2021 8:43 pm

reporter   ~0063136

Update: The follow up exception would happen again after saving and reloading, even when restarting the game/app. Attaching the save in question. It can take a minute or so for the exception to trigger. I would keep moving the mouse around the screen and zoom in/out occasionally and that seems to trigger it eventually.
LODsEtc Exception.save (707,705 bytes)

Daniexpert

Nov 1, 2021 11:28 pm

manager   ~0063138

Regarding the "Follow up" exceptions, it's been under bugfixing for a while and you can follow it either on 0025717 or on discord's channel #chris-talks-code-gameplay where it's often discussed. Unfortunately it's not totally clear from where that exception originates.

Chris_McElligottPark

Nov 2, 2021 10:55 am

administrator   ~0063141

Thanks!

* Fixed an exception that could happen due to a race condition in HandleLODsAndShipPartAnimations/

Chris_McElligottPark

Nov 5, 2021 6:53 pm

administrator   ~0063213

Thanks!

* Fixed a bug where various squads (sometimes with selection rings, other times with forcefields) were not properly cleaning themselves up and dying.
** I really don't know why this changed, but this logic has always been squirrely. Right now, the gimbals (icons) are properly exploding, but the ships themselves just disappear, which looks bad. But it's much better than the other bug we had for a while. I'll deal with that one on Monday.
** It's highly likely that this was also a performance drain, and potentially a memory leak, prior to now. Go figure.

Issue History

Date Modified Username Field Change
Nov 1, 2021 8:34 pm Eluthena New Issue
Nov 1, 2021 8:34 pm Eluthena File Added: Initial Exception.txt
Nov 1, 2021 8:34 pm Eluthena File Added: Follow Up Exception.txt
Nov 1, 2021 8:34 pm Eluthena File Added: 1 - Initial Exception.png
Nov 1, 2021 8:34 pm Eluthena File Added: 2 - Follow Up Exception spot image.jpg
Nov 1, 2021 8:43 pm Eluthena Note Added: 0063136
Nov 1, 2021 8:43 pm Eluthena File Added: LODsEtc Exception.save
Nov 1, 2021 8:46 pm Eluthena Description Updated
Nov 1, 2021 11:28 pm Daniexpert Note Added: 0063138
Nov 2, 2021 10:55 am Chris_McElligottPark Note Added: 0063141
Nov 2, 2021 1:29 pm Chris_McElligottPark Relationship added related to 0025760
Nov 2, 2021 1:29 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Nov 2, 2021 1:29 pm Chris_McElligottPark Status new => assigned
Nov 2, 2021 1:30 pm Chris_McElligottPark Relationship added related to 0025757
Nov 5, 2021 6:53 pm Chris_McElligottPark Status assigned => resolved
Nov 5, 2021 6:53 pm Chris_McElligottPark Resolution open => fixed
Nov 5, 2021 6:53 pm Chris_McElligottPark Fixed in Version => Beta 3.746 Phantom Ship Syndrome
Nov 5, 2021 6:53 pm Chris_McElligottPark Note Added: 0063213