View Issue Details

IDProjectCategoryLast Update
0028501Heart Of The MachineCrash/ExceptionJun 3, 2024 11:20 am
Reportermblazewicz Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.525 So Much Clarity 
Fixed in Version0.529 Wallripper 
Summary0028501: Conditional Blocker - Quickly deleting structures will also "delete" the map
DescriptionDescription:
After deconstructing multiple buildings in short succession the map will disappear along with most of the game's functionality.
No exception will be shown in the game (an exception will pop-up only after pressing tab to view map mode) but logs will be flooded with a: null reference exception.

5/28/2024 7:53:50 PM 0.525 SINGLEP 'Engine_Universal.OnUpdateFromMainThread' error at DebugStage 4000
System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.HotM.ExternalVis.RenderManager_Streets.PreRenderFrame () [0x01149] in <f9f2cbb1cba84a3fabc72f326721095c>:0
  at Arcen.HotM.ExternalVis.VisPlannerImplementation.DoPerFrame_MainGame () [0x0049b] in <f9f2cbb1cba84a3fabc72f326721095c>:0
  at Arcen.HotM.ExternalVis.VisPlannerImplementation.DoPerFrame () [0x00026] in <f9f2cbb1cba84a3fabc72f326721095c>:0
  at Arcen.HotM.Visualization.CoreGameLoopBase.VisPlanner_DoPerFrame () [0x0000d] in <b2e16dad5da342f8b792ff5fd7be73f4>:0
  at Arcen.HotM.Core.Engine_HotM.OnUpdateFromMainThread () [0x001fa] in <aebffc821d1f458198fb86595651ab21>:0
  at Arcen.Universal.Engine_Universal.OnUpdateEngineUniversalFromMainThread () [0x00328] in <4360adaf680d4a9480ace413a4c867b2>:0

Steps to Reproduce:
1. Build as many buildings as possible in close proximity
2. Select build menu
3. Navigate to delete buildings
4. While holding shift left click the available buildings in quick succession
5. Observe that the map has disappeared

Workaround:
- Map can be reloaded back into existence by entering and leaving map mode (tab by default)
TagsNo tags attached.

Relationships

related to 0028610 resolvedChris_McElligottPark Exception - Null reference exception can appear when deleting structures 

Activities

mblazewicz

May 28, 2024 2:22 pm

manager   ~0068812

Adding attachments
28501_Log.txt (2,002,702 bytes)
28501_Video.mp4 (3,230,899 bytes)   
28501_Save.save (3,740,920 bytes)

Chris_McElligottPark

May 29, 2024 10:12 am

administrator   ~0068828

I cannot duplicate this, and that stack trace is unfortunately too vague. So I have added some things to make the stack trace less vague as well as to make it so that this has less severe consequences in general.

If you can retest this in the next build, then I should be able to find it based off of a new stack trace.

Thanks!

* In cases where exceptions happen during rendering, the visuals should be less prone to disappearing
** Also have instrumented the streets mode extra so that if the "delete a lot of buildings in a quick succession" error can be replicated (I cannot duplicate it), then there should be more info on how to find it.

mblazewicz

Jun 3, 2024 11:15 am

manager   ~0068959

I wasn't able to reproduce the issue as seen in the attachments but another exception with very similar reproduction steps has appeared when attempting to reproduce the issue:
https://bugtracker.arcengames.com/view.php?id=28610

Chris_McElligottPark

Jun 3, 2024 11:19 am

administrator   ~0068960

Perfect, thanks! That is indeed the same thing, just caught in my new trap for this sort of exception.

Issue History

Date Modified Username Field Change
May 28, 2024 2:14 pm mblazewicz New Issue
May 28, 2024 2:14 pm mblazewicz Status new => assigned
May 28, 2024 2:14 pm mblazewicz Assigned To => mblazewicz
May 28, 2024 2:15 pm mblazewicz Description Updated
May 28, 2024 2:15 pm mblazewicz Description Updated
May 28, 2024 2:22 pm mblazewicz Note Added: 0068812
May 28, 2024 2:22 pm mblazewicz File Added: 28501_Log.txt
May 28, 2024 2:22 pm mblazewicz File Added: 28501_Video.mp4
May 28, 2024 2:22 pm mblazewicz File Added: 28501_Save.save
May 28, 2024 2:22 pm mblazewicz Assigned To mblazewicz => Jan Kuzior
May 28, 2024 2:25 pm Jan Kuzior Assigned To Jan Kuzior => Chris_McElligottPark
May 28, 2024 2:25 pm Jan Kuzior Summary Crash/Exception - Quickly deleting structures will also "delete" the map => Conditional Blocker - Quickly deleting structures will also "delete" the map
May 28, 2024 2:25 pm Jan Kuzior Description Updated
May 29, 2024 10:12 am Chris_McElligottPark Status assigned => feedback
May 29, 2024 10:12 am Chris_McElligottPark Note Added: 0068828
Jun 3, 2024 11:15 am mblazewicz Note Added: 0068959
Jun 3, 2024 11:19 am Chris_McElligottPark Status feedback => resolved
Jun 3, 2024 11:19 am Chris_McElligottPark Resolution open => fixed
Jun 3, 2024 11:19 am Chris_McElligottPark Fixed in Version => 0.529 Wallripper
Jun 3, 2024 11:19 am Chris_McElligottPark Note Added: 0068960
Jun 3, 2024 11:20 am Chris_McElligottPark Relationship added related to 0028610