-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Details
To preface what will be different about this "issue" post, I know I won't go far with "it's stemming from addon models", and I'm aware it's equivalent to "prank call to 911 line" for the folks here, but that said... I would like a bit of help from folks that have proper debug symbols and knowledge to at least point me in the right direction. I promise I won't be a nuisance and close down issue when I get a pointer, towards which I could continue looking :)
With disclaimer out of the way... I've recently picked up on a crash that stems from spawning addon NPCs. About 8-9 first* NPCs (addon's ones!) are spawned fine, but after this amount, I get crashed while spawning one more on top of this.
Map doesn't make a difference (crash logs are generated on gm_construct). Pre-caching NPC models ahead of spawning actual NPCs doesn't stop this from happening (and does not seem to crash me). All crashes were mostly done with NPCs being unarmed (99% off the record, first and last ones among included in the crashes.zip, there is a note on the second crash below). SP and MP are affected. In-built (pre-packaged, vanilla) never cause the crash to occur, for the record.
I'm left questioning such points:
- What is different from vanilla NPCs that are probably certainly up-to-par with changes to NPCs being able to use every weapon now vs. those that never were updated post-Nov 2025 to accomodate for this? (is this even a thing? Having to update NPCs to be up-to-par?)
- If this is something to do with point 1, was it as problematic before such changes?
- Would non-x64 branch change outcome? I've heard lots about non-x64 branch being a version behind x64 one.
Thanks in advance for putting up with my specificity of the question.
3 crash dumps:
crashes.zip
* - during write-up, had a major outlier, 2 first NPCs (and the same one, at that) were enough to cause a crash, difference was that I gave NPCs "Default Weapon" in weapon override. I'm stumped as to how it can impact me this much... This is specifically one with name "ff3d2a9d-a29a-4564-b230-fe47fb0a3122"...
Steps to reproduce
- Get enough addon NPCs
- Spawn them
- Upon getting to the "critical" amount, get crashed
Version of the game
Protocol version 24
Network version 2025.03.26 (garrysmod)
Exe build: 19:16:09 Dec 9 2025 (9894) (4000)
GMod version 2025.12.19, branch: x86-64, multicore: 1
Windows 64bit
Beta
x86-64 beta