GoldenJude / Mineshafts

MIT License
0 stars 1 forks source link

coal/metal bars glitching into infinite piles and clobbering inventory when running inside a shaft at logout #8

Closed DiskImage closed 2 years ago

DiskImage commented 2 years ago

This is slightly speculation because I haven't had time to reproduce yet, but it seems like leaving items on the ground in the mineshafts when you logout causes them to glitch out and start multiplying. The error log mentioned something about null ownership, I think? I lost the copy I saved, unfortunately. I think that something around the logout/login process on a local-only world (didn't try in a server) orphans the objects and makes it so they don't despawn when you pick them up. This causes them to follow your character on the ground bouncing, and when you use E to pick them up, their number either stays constant or multiplies. When I tried to drop the glitched coal, other items in my inventory started to turn into the glitched coal stacks, deleting things like my cape. If I dropped the glitched stacks outside the mineshaft, near the entrance above ground, the glitch items would appear back inside the shaft, entirely skipping the overworld.

DiskImage commented 2 years ago

Nvm, I was able to reproduce, it had the equipment and quickslots extended items framework stuff in the stacktrace.