#The latest update (x86-x64 chromium branch) hard crashes after killing any NPCs.

1 messages · Page 1 of 1 (latest)

clever pumice
#

About 2 days ago, everything was working fine and correctly. Ever since these last few updates, my game now hard crashes to desktop after I kill any NPCs. I don't have any faulty addons to cause this as I reverted to a previous game build I had backed up about a week ago (with the same config and addons and everything) and everything works correctly there, no crashes.

I'm currently using the x86-x64 chromium branch.

serene viper
#
clever pumice
#

Alright, I'll replicate a crash and upload the crash dump here 👍

serene viper
#

how exactly are you making the crash happen?

clever pumice
#

Load a map, get weapons, spawn any NPC (tested with combines mostly), kill npc, about 0.2 seconds later the game hard crashes to desktop.

#

Using serverside ragdolls with keep corpses on, before the crash, there's a few frames where the NPC correctly transitions to a serverside ragdoll.

#

Although it did crash with keep corpses off too

#

So I doubt that's the cause

serene viper
#

can you try disabling all addons?

clever pumice
#

Alright, I'll try that.

#

With addons disabled with -noworkshop -noaddons, there's no crash when killing NPCs.

#

So the new update has more or less busted up one or more of the addons I use...

serene viper
#

how many you got?

clever pumice
#

Well I've altered my experience significantly with some workshop ones and other ones I've made for myself, and keep locally.

#

Typically a lua error would be great for pinpointing but that's outta the question with the hard crash. Going through the files one by one is going to be a pain in the ass...

serene viper
#

do you have any workshop addons? You can try disabling jsut the workshop ones and not the local ones and testing, that would narrow it down

clever pumice
#

Yeah I was gonna try that

#

Well, it's definitely local stuff. I'll check around the files that use OnNPCKilled and otherwise modify NPC death behavior, if I can pinpoint it, I'll shoot a message here with the code that's busted up.

serene viper
#

logic_collision_pair maybe

clever pumice
#

NPC logic is probably not the cause, crash still occurs even without OnNPCKilled hooks.

I'll see if something that's altering ragdolls specifically could be the cause.

#

Hallellujah! I pinpointed the cause. It's a Workshop addon which I had downloaded locally and changed the collision groups. You were right on the money with the collisions probably being the cause.

Here's the addon file:

#

It alters the collision groups to prevent collision with player and NPC entities.