View Issue Details

IDProjectCategoryLast Update
0025414AI War 2Crash/ExceptionJul 16, 2021 7:10 pm
ReporterDaniexpert Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.310 Engineering Intelligence Injection 
Fixed in Version3.312 Hotfix 
Summary0025414: Error when exiting a game
DescriptionI exited a game with "Quit game" and just before the menu UI, this error was thrown 3 times in the log:
7/15/2021 6:54:43 PM 3.310 SINGLEP OnlyInMapgenOrInActuallyGettingRidOfEntities_ImmediatelyRemoveFromSim error at debugStage 600, Error: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.GameEntity_Squad.ClearForReturningToPool () [0x0067b] in <e81953f817df4edf870d705b40ea0c64>:0
  at Arcen.AIW2.Core.GameEntity_Squad.ReturnToPool () [0x00001] in <e81953f817df4edf870d705b40ea0c64>:0
  at Arcen.AIW2.Core.World_AIW2.UnregisterEntity (Arcen.AIW2.Core.GameEntity_Squad Entity) [0x00074] in <e81953f817df4edf870d705b40ea0c64>:0
  at Arcen.AIW2.Core.GameEntity_Squad.OnlyInMapgenOrInActuallyGettingRidOfEntities_ImmediatelyRemoveFromSim (Arcen.AIW2.Core.InstancedRendererDeactivationReason Reason) [0x00068] in <e81953f817df4edf870d705b40ea0c64>:0
TagsNo tags attached.

Activities

Daniexpert

Jul 15, 2021 4:09 pm

manager   ~0062440

I got this one again when I changed a logistical command to an economic one.

Chris_McElligottPark

Jul 16, 2021 7:10 pm

administrator   ~0062467

Thanks!

* Fixed an exception related to the recent line changes that could happen in GameEntity_Squad.ClearForReturningToPool(). Also put in defensive code against a few other things that were working fine, but you never know.
** This was likely also a bit of a memory leak, with it not properly clearing some units.

Issue History

Date Modified Username Field Change
Jul 15, 2021 12:58 pm Daniexpert New Issue
Jul 15, 2021 4:09 pm Daniexpert Note Added: 0062440
Jul 16, 2021 7:10 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jul 16, 2021 7:10 pm Chris_McElligottPark Status new => resolved
Jul 16, 2021 7:10 pm Chris_McElligottPark Resolution open => fixed
Jul 16, 2021 7:10 pm Chris_McElligottPark Fixed in Version => 3.312 Hotfix
Jul 16, 2021 7:10 pm Chris_McElligottPark Note Added: 0062467