View Issue Details

IDProjectCategoryLast Update
0028610Heart Of The MachineCrash/ExceptionJun 6, 2024 11:41 am
Reportermblazewicz Assigned ToChris_McElligottPark  
Status resolvedResolutionreopened 
Product Version0.534 Trailer Bits 
Fixed in Version0.540 Tower Explanation 
Summary0028610: Exception - Null reference exception can appear when deleting structures
DescriptionDescription:
When deleting buildings a null reference exception may appear.

SINGLEP 'PreRenderFrame-Streets-PostCells' error at DebugStage 2200
System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.HotM.ExternalVis.RenderManager_Streets.RenderAllStructureNetworkRanges (System.Boolean IsMapMode) [0x00199] in <2c871d472a204791b534e5aee8b3d807>:0
  at Arcen.HotM.ExternalVis.RenderManager_Streets.PreRenderFrame () [0x00bd3] in <2c871d472a204791b534e5aee8b3d807>:0

Steps to Reproduce:
1. Build as many buildings as possible in close proximity
2. Select build menu
3. Navigate to and select: delete structures
4. While holding shift left click the available buildings

Notes:
- Video_B attachment showcases that the exception can occur even with the first building deleted after loading a save
TagsNo tags attached.

Relationships

related to 0028501 resolvedChris_McElligottPark Conditional Blocker - Quickly deleting structures will also "delete" the map 

Activities

mblazewicz

Jun 3, 2024 11:04 am

manager   ~0068958

Adding attachments:
28610_Logs.txt (4,052,400 bytes)
28610_Save.save (3,747,350 bytes)

Chris_McElligottPark

Jun 4, 2024 9:47 pm

administrator   ~0069051

bump for self

Chris_McElligottPark

Jun 4, 2024 10:33 pm

administrator   ~0069070

Thanks!

* Fixed an exception that could happen during rendering if you deleted a structure that was the uplink for another structure, and the timing of things was just wrong.
** I haven't been able to replicate this, but the part of the code that had the problem was clear, and I've hardened it. Please re-test to verify that it's definitely fixed. Thanks!

mblazewicz

Jun 6, 2024 10:56 am

manager   ~0069118

Regression - Issue still occurs on 0.539.
Adding new attachments
28610_Logs_B.txt (4,167,133 bytes)

Chris_McElligottPark

Jun 6, 2024 11:41 am

administrator   ~0069125

Thanks!

* Added in yet more hardening and also instrumentation to the exception that could happen when deleting a lot of structures.

Issue History

Date Modified Username Field Change
Jun 3, 2024 11:02 am mblazewicz New Issue
Jun 3, 2024 11:02 am mblazewicz Status new => assigned
Jun 3, 2024 11:02 am mblazewicz Assigned To => mblazewicz
Jun 3, 2024 11:04 am mblazewicz Description Updated
Jun 3, 2024 11:04 am mblazewicz Note Added: 0068958
Jun 3, 2024 11:04 am mblazewicz File Added: 28610_Video_A.mp4
Jun 3, 2024 11:04 am mblazewicz File Added: 28610_Video_B.mp4
Jun 3, 2024 11:04 am mblazewicz File Added: 28610_Logs.txt
Jun 3, 2024 11:04 am mblazewicz File Added: 28610_Save.save
Jun 3, 2024 11:06 am mblazewicz Assigned To mblazewicz => Jan Kuzior
Jun 3, 2024 11:20 am Chris_McElligottPark Relationship added related to 0028501
Jun 3, 2024 11:24 am Jan Kuzior Assigned To Jan Kuzior => Chris_McElligottPark
Jun 4, 2024 9:47 pm Chris_McElligottPark Note Added: 0069051
Jun 4, 2024 10:33 pm Chris_McElligottPark Status assigned => resolved
Jun 4, 2024 10:33 pm Chris_McElligottPark Resolution open => fixed
Jun 4, 2024 10:33 pm Chris_McElligottPark Fixed in Version => 0.537 Demo Build
Jun 4, 2024 10:33 pm Chris_McElligottPark Note Added: 0069070
Jun 6, 2024 10:54 am mblazewicz Status resolved => assigned
Jun 6, 2024 10:54 am mblazewicz Resolution fixed => reopened
Jun 6, 2024 10:54 am mblazewicz Fixed in Version 0.537 Demo Build =>
Jun 6, 2024 10:56 am mblazewicz Note Added: 0069118
Jun 6, 2024 10:56 am mblazewicz File Added: 28610_Logs_B.txt
Jun 6, 2024 10:56 am mblazewicz File Added: 28610_Video_C.mp4
Jun 6, 2024 11:41 am Chris_McElligottPark Status assigned => resolved
Jun 6, 2024 11:41 am Chris_McElligottPark Fixed in Version => 0.540 Tower Explanation
Jun 6, 2024 11:41 am Chris_McElligottPark Note Added: 0069125