View Issue Details

IDProjectCategoryLast Update
0029929Heart Of The MachineCrash/ExceptionNov 29, 2024 4:15 pm
Reportermblazewicz Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.596.3 Oops I Built The Torment Nexus 
Fixed in Version0.596.4 Unit Cap Overhaul 
Summary0029929: Exception - One time exception occurred after losing the Hospital investigation
DescriptionDescription:
One time exception occurred after losing the Hospital investigation, despite many attempts to reproduce the issue I wasn't able to succeed

'PreRenderFrame-Streets-PostCells' error at DebugStage 32200
System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.HotM.External.MachineUnit.HandleActionOverTimeText () [0x00123] in <d4c173329310452e8066a8eb56c169b4>:0
  at Arcen.HotM.External.MachineUnit.DoPerFrameDrawBecauseExistsInOrOutOfCameraView (System.Boolean& IsMouseOver, System.Int64 FramesPrepped, System.Boolean& TooltipShouldBeAtCursor, System.Boolean& ShouldSkipDrawing, System.Boolean& ShouldDrawAsSilhouette) [0x00651] in <d4c173329310452e8066a8eb56c169b4>:0
  at Arcen.HotM.ExternalVis.RenderManager_Streets.RenderMachineUnitIfNeeded (Arcen.HotM.Core.ISimMachineUnit unit, System.Int64 renderManagerFramesPrepped, System.Boolean doGroundVisMode, System.Boolean isFogOfWarDisabled) [0x0000a] in <d3366aa2f74a4a39abc9033fb7acedb6>:0
  at Arcen.HotM.ExternalVis.RenderManager_Streets.PreRenderFrame () [0x01533] in <d3366aa2f74a4a39abc9033fb7acedb6>:0

Steps to Reproduce A:
1. Load the attached save A
2. Pass a turn
3. Observe that either the unit PMC impostor: Died and nothing happened, Survived and completed the investigation, Died and exception occurred

Steps to Reproduce B:
1. Load the attached save B
2. Begin the infiltration
3. Hack the hackers that spawn to detect the PMC Impostor specifically with the emotional distress affliction
4. Pass turns until duration of emotional distress reaches one
5. Pass one more turn
6. Observe that either the unit PMC impostor: Died and nothing happened, Survived and completed the investigation, Died and exception occurred
TagsNo tags attached.

Activities

mblazewicz

Nov 29, 2024 10:45 am

manager   ~0070925

Adding attachments:
29929_Save_A.save (4,301,323 bytes)
29929_Save_B.save (4,302,747 bytes)
29929_Log.txt (1,898,477 bytes)
29929_Video.mp4 (6,597,491 bytes)   

Chris_McElligottPark

Nov 29, 2024 4:15 pm

administrator   ~0070928

Thanks!

* Fixed a rare exception that could happen if the stars aligned just wrong when an action-over-time was being canceled from a thread other than the main thread (such as the NPC acting thread), but also only if you were looking at the unit performing the action as it died, AND it happened to be in a specific window about 40 nanoseconds wide.
** So, with a few hundred people, this would be almost impossible to make happen. On launch, you get it day one, several times. Glad to have gotten it in advance of that!

Issue History

Date Modified Username Field Change
Nov 29, 2024 10:44 am mblazewicz New Issue
Nov 29, 2024 10:44 am mblazewicz Status new => assigned
Nov 29, 2024 10:44 am mblazewicz Assigned To => mblazewicz
Nov 29, 2024 10:45 am mblazewicz Note Added: 0070925
Nov 29, 2024 10:45 am mblazewicz File Added: 29929_Save_A.save
Nov 29, 2024 10:45 am mblazewicz File Added: 29929_Save_B.save
Nov 29, 2024 10:45 am mblazewicz File Added: 29929_Log.txt
Nov 29, 2024 10:45 am mblazewicz File Added: 29929_Video.mp4
Nov 29, 2024 10:46 am mblazewicz Assigned To mblazewicz => Anna Nowicka
Nov 29, 2024 10:49 am Anna Nowicka Assigned To Anna Nowicka => Chris_McElligottPark
Nov 29, 2024 4:15 pm Chris_McElligottPark Status assigned => resolved
Nov 29, 2024 4:15 pm Chris_McElligottPark Resolution open => fixed
Nov 29, 2024 4:15 pm Chris_McElligottPark Fixed in Version => 0.596.4 Unit Cap Overhaul
Nov 29, 2024 4:15 pm Chris_McElligottPark Note Added: 0070928