Facepunch / garrysmod-issues

Garry's Mod issue tracker
144 stars 56 forks source link

Physics broken #3109

Open mcNuggets1 opened 7 years ago

mcNuggets1 commented 7 years ago

Details

Props go through walls, vehicles clip through walls etc.

Steps to reproduce

Happens like every 1 month on my server, without spitting a Lua Error. A map change doesn't fix it, the whole server needs to be restarted. The cause is most likely unknown.

Btw. I host a sandbox server without any modifications to the ShouldCollide hook in any way.

iceman-twitch commented 7 years ago

are u using crazy physics convars?

mcNuggets1 commented 7 years ago

yeah

thegrb93 commented 7 years ago

This is the well known quicksand glitch. I don't think it's possible to fix. Pretty sure its been reported countless times.

ghost commented 7 years ago

It has many names (I refer it as the Physics Mayhem bug). Unfortunately, this bug is in the closed-source physics engine part of Source and the Garry's Mod developers do not have access to it (They cannot fix it at all). All you can do is look into what could possibly be triggering the physics engine to have a fit, there is no "fix" other than restarting the server.

60percentCaffeine commented 7 years ago

Try to remove all ShouldCollide hooks.

2 апр. 2017 г. 22:33 пользователь "mcNuggets1" notifications@github.com написал:

Details

Props go through walls, vehicles clip through walls etc. Steps to reproduce

Happens like every 1 month on my server, without spitting a Lua Error. A map change doesn't fix it, the whole server needs to be restarted. The cause is most likely unknown.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Facepunch/garrysmod-issues/issues/3109, or mute the thread https://github.com/notifications/unsubscribe-auth/AJwOWqtZ1Sx6bX-8IdHbnJc6eoIOFhWXks5rr5WxgaJpZM4MwygQ .

Vinzuerio commented 7 years ago

I often have this problem, especially if you switched from old map to newer map version or with invalid physics entities that present in the map.

for example: When you switched from old map to the current (let's say cs_something to gm_construct) with possibly some invalid physics entities (such as: parenting physic entities with func_teleport which cause vphysic to stop motioning) properties will cause this happen forever unless you have to restart your game/server.

As @daunknownman2010 said though, this bug is related to physic engine related so there's no possibly fix for that

mcNuggets1 commented 6 years ago

It didnt appear again since months.

thegrb93 commented 6 years ago

It's rare but it can happen at any moment :v

mcNuggets1 commented 6 years ago

It was related to a addon probably. (ShouldCollide hook acts weird) If it happens again, I'll reopen this issue.

mcNuggets1 commented 6 years ago

It's still there, you're right.

thegrb93 commented 6 years ago

Yah don't use ShouldCollide. I've never had it work without triggering the glitch.

mcNuggets1 commented 6 years ago

It's not even used right now. The glitch happened without it even being used fsr.

thegrb93 commented 6 years ago

report_entities everytime it happens and save the list. maybe that'll help find the culprit

Kefta commented 6 years ago

Check console for any vphysics errors too, as in the case of this thread.

ghost commented 6 years ago

physics_report_active can also help. https://developer.valvesoftware.com/wiki/Diagnosing_your_server