AnarkisGaming / ATC-Feedback

Public bug reports and feature requests for our game, After The Collapse.
https://www.anarkisgaming.com/
0 stars 0 forks source link

Elusive raze job crash intercepted #58

Closed IvanBajlo closed 2 years ago

IvanBajlo commented 2 years ago

2021-10-23 20:51:35,236 [14] ERROR AG.GameProject.ATC.Program - Elusive raze job crash intercepted System.NullReferenceException: Object reference not set to an instance of an object. at AG.GameProject.ATC.Jobs.RazeJob.DoJob(AGContainer pJobRunner) at AG.GameProject.ATC.Jobs.RazeJob.ExecuteJob(AGContainer pJobRunner)

image

SerialKicked commented 2 years ago

Anti crash system activated and worked, that's why you don't find crashes anymore :D

If you know what it was you were building and were and why and have a save, great. Otherwise, welp, you know as much as i do.

IvanBajlo commented 2 years ago

I think I was razing something in the sewers.. but can't repeat it :-(

0863 raze bug.zip .

SerialKicked commented 2 years ago

Yep, that's kind of the problem it's not repeatable and stupid rare. I can't find it either and it has been floating around for years now. I keep reading and re-reading the code and I don't see where there could be a null exception. One day i'll catch it, but in the meantime, the game just skipping the job works well enough.

Be honest, without that warning you wouldn't have noticed it :D

SerialKicked commented 2 years ago

OMG it finally triggered at home while i was looking at it. Apparently a weird problem with the positioning of the "smoke" animation. Fixed.