ACF-Team / ACF-3

ACF
MIT License
67 stars 53 forks source link

[BUG] NULL Phys Object on Dupe Spawn #390

Closed bluemetaknight closed 4 months ago

bluemetaknight commented 4 months ago

Upon spawning a dupe or checking a tanks armor with the armor tool, my console errors with this.

[acf-3] addons/acf-3/lua/acf/core/validation_sv.lua:37: Tried to use a NULL physics object!

  1. __eq - [C]:-1
    1. IsLegal - addons/acf-3/lua/acf/core/validation_sv.lua:37
    2. CheckLegal - addons/acf-3/lua/acf/core/validation_sv.lua:58
      1. unknown - addons/acf-3/lua/acf/core/validation_sv.lua:109

Timer Failed! [Simple][@addons/acf-3/lua/acf/core/validation_sv.lua (line 106)]

Or this as is the case when using the armor tool.

[acf-3] addons/acf-3/lua/acf/core/validation_sv.lua:206: Tried to use a NULL physics object!

  1. __eq - [C]:-1
    1. Check - addons/acf-3/lua/acf/core/validation_sv.lua:206
    2. GetResult - addons/acf-3/lua/weapons/gmod_tool/stools/acfarmorprop.lua:471
      1. Reload - addons/acf-3/lua/weapons/gmod_tool/stools/acfarmorprop.lua:574
      2. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:287

It just started happening today, up until this point, I have had no other issues with my dupes.

ACF-3 Git-master-9181811

Gmod Version Exe version 2023.06.28 (garrysmod) Exe build: 18:07:32 Feb 19 2024 (9235) (4000) GMod version 2024.02.19, branch: x86-64, multicore: 1

How to Reproduce

I'm not sure at this point if it's my own game or an ACF issue. But just spawning in a dupe seems to trigger it. I've all ready tried doing a fresh install of ACF-3 and ACF-3 Missiles, and the issue persists.