Underrail Forum

Underrail => Bugs => Topic started by: YM2612 on July 30, 2020, 08:54:19 pm

Title: 1.1.2.2 Vanishing Powder Grenade crash
Post by: YM2612 on July 30, 2020, 08:54:19 pm
I experienced at least 5 crashes to desktop after using Vanishing Powder Grenade. I can't replicate it consistently but it still happens sometimes.
Title: Re: 1.1.2.2 Vanishing Powder Grenade crash
Post by: Styg on July 31, 2020, 11:34:00 am
Can you go to Documents\My Games\Underrail and post one of the crashlogs here?
Title: Re: 1.1.2.2 Vanishing Powder Grenade crash
Post by: YM2612 on July 31, 2020, 07:59:26 pm
Here you go:
https://www94.zippyshare.com/v/DcZ6DHEF/file.html

There is also one crash log that happened on 1.1.1.6 with the same issue.
Title: Re: 1.1.2.2 Vanishing Powder Grenade crash
Post by: Styg on August 03, 2020, 09:45:54 pm
Do you remember if you threw those grenades in turn-based or real-time mode?
Title: Re: 1.1.2.2 Vanishing Powder Grenade crash
Post by: YM2612 on August 04, 2020, 03:55:37 pm
I'm not sure, but I think it crashed both in real-time right before someone about to spot me and during the combat too.
Title: Re: 1.1.2.2 Vanishing Powder Grenade crash
Post by: Pruvan on August 04, 2020, 06:10:45 pm
I've had a crash like this happen before, when I accidentally used a vanishing powder grenade out of combat in a zone I just cleared out. This was months ago though so I don't have any crash logs for it.

I'm not a professional programmer, but it might be an array overflow if I had to wager a guess. Something might be going wrong when it's grabbing all the entities in a zone to check for detection. If the game was made in C++ it would also explain why sometimes the game crashes and sometimes it doesn't. Since array overflowing in C is pretty much a coin flip in whether the program decides to roll with it or not.