View Issue Details

IDProjectCategoryLast Update
0024317AI War 2Crash/ExceptionJan 11, 2021 3:17 pm
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product Version2.714 Frigate Surge And CSGs 
Fixed in Version2.715 Unload Queuing 
Summary0024317: ReevaluateUnitOrders multiplayer client crash
DescriptionNote that this log also covers the previous session on 12/19, so ignore that.
There are a number of Necromancer errors that I will be investigating separately, but there are a number of errors like this on a multiplayer client. We are playing with a bunch of people controlling 1 human empire faction, and 1 person playing the Necromancer

1/9/2021 8:06:17 PM 2.714 CLIENT Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE METHOD IL_OFFSET NATIVE_OFFSET LINE_NUMBER COLUMN_NUMBER
    ReevaluateUnitOrders 511 1208 0 0
    <DoShipAILogic>b__1 13 82 0 0
    DoForEntities 77 202 0 0
    DoForEntities 31 162 0 0
    <DoShipAILogic>b__0 18 218 0 0
    DoForPlanets 59 200 0 0
    DoForPlanets 22 106 0 0
    DoShipAILogic 39 354 0 0
    DoWorldStepLogic_FromSimBGThread 180 514 0 0
    Execute 186 519 0 0
===RAW STACK TRACE===
  at Arcen.AIW2.External.EntitySimLogicImplementation.ReevaluateUnitOrders (Arcen.AIW2.Core.ArcenSimContext Context, Arcen.AIW2.Core.GameEntity_Squad Entity) [0x001ff] in <5be20e8dd1824f2aa5c68e2ca6a7fcf1>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass54_0.<DoShipAILogic>b__1 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x0000d] in <5be20e8dd1824f2aa5c68e2ca6a7fcf1>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x0004d] in <586ad8bedc5d49818acecadcbfbb35ea>:0
  at Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x0001f] in <586ad8bedc5d49818acecadcbfbb35ea>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass54_0.<DoShipAILogic>b__0 (Arcen.AIW2.Core.Planet planet) [0x00012] in <5be20e8dd1824f2aa5c68e2ca6a7fcf1>:0
  at Arcen.AIW2.Core.Galaxy.DoForPlanets (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x0003b] in <586ad8bedc5d49818acecadcbfbb35ea>:0
  at Arcen.AIW2.Core.World_AIW2.DoForPlanets (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00016] in <586ad8bedc5d49818acecadcbfbb35ea>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoShipAILogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x00027] in <5be20e8dd1824f2aa5c68e2ca6a7fcf1>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldStepLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x000b4] in <5be20e8dd1824f2aa5c68e2ca6a7fcf1>:0
  at Arcen.AIW2.External.SimExecution.Execute () [0x000ba] in <5be20e8dd1824f2aa5c68e2ca6a7fcf1>:0
  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00000] in <5f4bdeee620843e08af117af991ccd14>:0


TagsNo tags attached.

Activities

BadgerBadger

Jan 10, 2021 2:26 am

manager  

ArcenDebugLog(2).txt (1,094,808 bytes)

Chris_McElligottPark

Jan 11, 2021 3:17 pm

administrator   ~0060271

Thanks!

* Put in a lot of code adjustments to prevent errors in ReevaluateUnitOrders, and to make them give us better error messages if they do encounter any. Also updated some of the other methods in the same class for good measure. On MP clients, also made it so that it just ignores these errors, since they will be quickly corrected by host-sync.

Issue History

Date Modified Username Field Change
Jan 10, 2021 2:26 am BadgerBadger New Issue
Jan 10, 2021 2:26 am BadgerBadger Status new => assigned
Jan 10, 2021 2:26 am BadgerBadger Assigned To => Chris_McElligottPark
Jan 10, 2021 2:26 am BadgerBadger File Added: ArcenDebugLog(2).txt
Jan 11, 2021 3:17 pm Chris_McElligottPark Status assigned => resolved
Jan 11, 2021 3:17 pm Chris_McElligottPark Resolution open => fixed
Jan 11, 2021 3:17 pm Chris_McElligottPark Fixed in Version => 2.715 Unload Queuing
Jan 11, 2021 3:17 pm Chris_McElligottPark Note Added: 0060271