View Issue Details

IDProjectCategoryLast Update
0025817AI War 2Crash/ExceptionJan 24, 2022 1:34 am
ReporterBadgerBadger Assigned ToBadgerBadger  
Status resolvedResolutionfixed 
Product VersionBeta 3.751 Faction Processing Groups 
Fixed in VersionBeta 3.786 A Very Intense Patch 
Summary0025817: Sappers getting confused destination
DescriptionSo one of my Sappers wound up thinking that an AI drone was its target:

11/13/2021 11:06:39 PM 3.750 SINGLEP DELAYED10 TID44 Hit exception in ProcessSappers debugCode 400 System.Exception: Unknown sapper destination Stingray Drone 0017196 AI Sentinels on Julius was reached but the code did not know how to handle it.
  at Arcen.AIW2.External.SappersFactionDeepInfo.CollectResourcesFromDestinationIfPossible (Arcen.AIW2.Core.GameEntity_Squad sapper, Arcen.AIW2.External.SappersPerUnitBaseInfo data, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00247] in <c6afff2fbbc74c689146ff75965da454>:0
  at Arcen.AIW2.External.SappersFactionDeepInfo+<ProcessSappers>c__AnonStorey1.<>m__0 (Arcen.AIW2.Core.GameEntity_Squad sapper) [0x0022d] in <c6afff2fbbc74c689146ff75965da454>:0
  at Arcen.Universal.DoubleBufferedConcurrentList`1[ItemType].Display_DoFor (Arcen.Universal.DoubleBufferedConcurrentListProcessor`1[ItemType] Processor) [0x00030] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenCollections/DoubleBuffered/DoubleBufferedConcurrentList.cs:278
  at Arcen.AIW2.External.SappersFactionDeepInfo.ProcessSappers (Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00091] in <c6afff2fbbc74c689146ff75965da454>:0

What's happening here is that the Sapper has reached its destination, but it doesn't have any code to figure out what to do here so it throws the error. There should be no way for Sappers to ever pick an AI drone as a Destination (it only looks at things in its own faction), so perhaps we have some sort of reuse-of-dead-thing problem?
TagsNo tags attached.

Activities

BadgerBadger

Jan 24, 2022 1:34 am

manager   ~0063843

I've added some debugging code here

Issue History

Date Modified Username Field Change
Nov 14, 2021 1:09 am BadgerBadger New Issue
Jan 24, 2022 1:34 am BadgerBadger Assigned To => BadgerBadger
Jan 24, 2022 1:34 am BadgerBadger Status new => resolved
Jan 24, 2022 1:34 am BadgerBadger Resolution open => fixed
Jan 24, 2022 1:34 am BadgerBadger Fixed in Version => Beta 3.786 A Very Intense Patch
Jan 24, 2022 1:34 am BadgerBadger Note Added: 0063843