Lately, GMod has been crashing with the above error. I can’t be certain, but it seems to happen when tossing certain scripted physics entities around. It seems to happen arbitrarily: one moment, everything is fine and dandy, but suddenly, the scripted entities using VPhysics stop colliding with the world, and fall through the floor. GMod crashes shortly afterwards citing the engine error in the title.
I’d normally blame my incompetence in scripting, but for one, I haven’t touched the script in a while, and this is a rather recent issue. For another, one of the scripted entities in question doesn’t override ENT.PhysCollide, and really doesn’t do anything special in terms of physics.
The entities causing the crashed use PhysicsInit(SOLID_VPHYSICS), self.Entity:SetMoveType(MOVETYPE_VPHYSICS), and self.Entity:SetSolid(SOLID_VPHYSICS), but these have worked fine for quite a while.
Any help with this problem would be appreciated. Thank you.
(User was banned for this post ("Wrong section" - mahalis))