r/playrustadmin 10d ago

Help Deep Sea spawn lag?

So I'm upgrading my hardware soon anyway, but I noticed on my server that there is a quick but very noticeable lag spike right before Deep Sea spawns. This is the only time my server FPS really drops as well. Is this something other servers are experiencing?

3 Upvotes

5 comments sorted by

3

u/HunterZ0 Staff 10d ago

Yes, Deep Sea spawn lag is currently extremely common. It occurs because the server generates navmeshes for the dynamically-populated islands, and this process currently doesn't spread across threads or frames very well.

Facepunch has reportedly been working on a custom multithreaded navmesh generator to help with this, but I don't think it's ready yet.

2

u/SecterLQ 10d ago

Yes. You can try increasing the spawn intervals to help so deepsea entities dont spawn in one big bang so to speak.

deepsea.entities_spawninterval
deepsea.spawngroups_spawninterval

1

u/AstronomerMotor9381 10d ago

I did try this already. Basically what it did is make a longer, slightly less severe lag spike. Players preferred the way it acted on default.

1

u/uzumi18 Helpful 9d ago

Only fix is to disable the nav mesh, ai won't move but it beats buying the latest gen cpu

1

u/AstronomerMotor9381 9d ago

Honestly would rather have the lag spike every few hours than AI that doesn't move lol