Pasting back structures with industrial conveyors leads to server lags

Copying a base / structure which includes industrial conveyors and later on pasting it somewhere else leads to server lags in the current version of the game and plugin. No errors visible in gamelog, hence sadly I can't prove through logs. After pasting such a structure with industrial conveyors the server creates massive framedrops from 70+ fps down to around 10 fps server side. These framedrops happen around every 5-20 seconds and lead to massive rubberbanding, rendering the server basically unplayable. As a workaround I have disabled industrial conveyors server-wide by setting the convar "server.conveyormovefrequency" to "0" (default = 5) which restored normal performance.

This report is to share info on the problem and a workaround with you guys. This will be my last month as a server owner, then I will move on and not be around anymore should you come up with questions or a solution.

Plugin version
"Copy Paste" (4.2.0) by misticos (0.01s / 2 MB)

Game version
Protocol: 2573.263.1
Build Date: 12/26/2024 13:33:12
Unity Version: 2022.3.41f1
Changeset: 110006
Branch: release

Oxide version
Oxide.Rust Version: 2.0.6348
Oxide.Rust Branch: master​

Hey, could you please also send your paste file?

Hi misticos, on my server players had the opportunity to carry over a few things in a small starter base from one map to the next one, and I used your excellent CopyPaste plugin to make it happen. First I didn't allow industrial conveyors in such starters, because back in the days pasting back such structures caused a lot of console error messages and it was clear you can't copy-paste conveyors. Only recently in one of the updates it was said that conveyors now work. Hence I checked again and found no more errors in the console for such copied structures. I believe the problem comes from the starter with the name "player-novitch.json" but could also be my own base "player-minime.json".

Please note: Server lags did not occur immediately after pasting the files after force wipe. As you know January force wipe (and pasting the starters) has been on the 2nd of January, but lags manifested a few days later on 5th of January. After not finding any hints in the gamelog I removed my own base (player-minime) but to no avail. The server kept on lagging, and I tried a few more days to nail down the problem until my intuition told me to disable conveyors altogether on 9th of January. Performance immediately returned to normal 70+ fps server side when I set that convar. I'm pretty sure the (player-novitch) starter caused the problem, because that was the only starter with conveyors which was left on the map.