Garry's Mod

Garry's Mod

Long Devplat Revolver (Admin Gun)
Invisible NPCs bug?
I've had this error under "Other" in the Lua Errors tab of the Problems menu for a while:
gamemodes/sandbox/entities/effects/propspawn.lua:105: attempt to index field 'SpawnEffect' (a nil value) 1. unknown - gamemodes/sandbox/entities/effects/propspawn.lua:105
And occasionally it is accompanied by the following error message:
gamemodes/sandbox/entities/effects/propspawn.lua:105: attempt to index field 'SpawnEffect' (a nil value) 1. unknown - gamemodes/sandbox/entities/effects/propspawn.lua:105 2. DrawModel - [C]:-1 3. Render - lua/includes/modules/halo.lua:77 4. v - lua/includes/modules/halo.lua:154 5. unknown - lua/includes/modules/hook.lua:96
With the source of the error stating:
"Looks like you've encountered some Lua errors. We could not figure out where they came from."
After spawning an NPC for about 2-3 seconds I would already have about 3000 of the first message, and around 215 of the second. The details of this bug or error includes invisible NPCs (as long as the NPC is not utilizing the VJ NPC system).
Spawning an ordinary NPC will briefly display their model as they load in but once fully loaded in they become invisible, the only thing remaining being their weapon and their shadow. This happens with every single NPC (aside from VJ NPCs).
I've researched this exact error on Google, and found a thread on Reddit and here on the steam community, and discovered that this addon, Long Devplat Revolver [Admin Gun], appears to be the cause of the issue. Disabling this addon completely fixes the issue.
Zaurzo, please consider fixing this unusual bug. Thank you.