SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
84 stars 18 forks source link

strange bug in vehicles on my server #4314

Closed Duggz0r1 closed 5 months ago

Duggz0r1 commented 5 months ago

for some years in my server I have had this problem that makes it difficult to walk on top of the vehicles, bugging the hitbox and giving some problems. this problem forces me to perform a cleaning of vehicles almost weekly to avoid this problem, when I perform the elimination of vehicles the bug goes away, but a few days after the users play the game it comes back.

here is a demonstration video

https://youtu.be/uFMle9_sa60

GazziFX commented 5 months ago

Never had that issue, did you check your plugins like virtual garage or vehicle store?

Duggz0r1 commented 5 months ago

the bug always happened to me, even if I deactivate the plugins, for a while I used up to 3 different (paid) virtual garage plugins

sunnamed434 commented 5 months ago

By deactivating the plugin you mean /rocket unload plugin_name ?

Duggz0r1 commented 5 months ago

Yesterday I tried it and the bugg continued without the plugins

GazziFX commented 5 months ago

I mean what if you clean vehicles and run without that plugins, perhaps it won't break in a week. And also there was similar issue #4093 but there was no idea what caused that bug

Duggz0r1 commented 5 months ago

yes, that's the same problem I'm having, I have the vehicles file corrupted as well

SDGNelson commented 5 months ago

Can you attach the broken Vehicles.dat file please? I'll see if it's something I can reproduce without plugins.

Duggz0r1 commented 5 months ago

sure, here is the vehicles.dat Vehicles (1).zip

Duggz0r1 commented 5 months ago

I have researched more about this bugg during these 2 years, let me send you more videos about how the bugg originates and some miscellaneous stuff.

Duggz0r1 commented 5 months ago

for a strange reason all the research I had done didn't work when it came to testing it, but once I was testing I realized that if a vehicle (usually from some mod) is spawned outside the map limits it automatically bugs everything and for a while I used a /tpvehicle plugin in which I would teleport to some vehicle that was outside the map, because for some strange reason they were bugged in the sky (I never understood why it worked) and in other situations it would teleport me far away from everything where there was only sky and no vehicle was near (in those situations I didn't know how to remove the vehicle).

(here are photos of the out-of-bounds cars that appeared for no reason) imsdssdfsdfdage imasdadadaage

SDGNelson commented 5 months ago

Thanks for the vehicles file. I loaded it up on a test server - albeit without the modded vehicles - and everything seemed to work normally. Perhaps it is related to one of the custom/modded vehicles, or whatever is causing the vehicles to end up in the sky. I recall the developers of Gloomwood posted about a case where a physics object far outside the level was causing various issues. Maybe a similar case here. You mentioned sometimes they spawn outside the map: What's causing that?

Duggz0r1 commented 5 months ago

I have never come to a concrete conclusion, my theory is that it could be some garage plugin, but I have used more than one and the problem persisted, the other theory may be that when there are users inside the vehicles and the server shuts down it generates some bugg with the mod cars.

SDGNelson commented 5 months ago

Closing for the meantime since it doesn't sound like it's a vanilla bug, but feel free to follow up if otherwise seems to be the case.