Hbm's Nuclear Tech - Extended Edition

Hbm's Nuclear Tech - Extended Edition

398k Downloads

Bullet Persistence after unload

TH3R34LP3NGU opened this issue ยท 0 comments

commented

Entity entity_bullet seems to be persistent through server restarts/chunkloads. This causes major lagspikes and client freezing/crashing for clients on render when too many bullets have exited render distance, and are loaded in at the same time.

FBI raids (and presumably turrets etc as well) can cause this without player interaction by shooting/missing evil mobs and stacking bullets outside of loaded chunks.

Bad practice not using raycasts for bullets aside, this seems like unintended behaviour. Not sure how I'd go about fixing this without breaking snipers etc. Maybe a bullet entity cap?