Performance - MyPlayerCollection.SendDirtyBlockLimits is called too frequently

Guest shared this bug 17 months ago

Game version: 1.200.032

Method: MyPlayerCollection.SendDirtyBlockLimits

The above method is called too frequently causing excess processing and memory allocations on multiplayer servers.

Syncing block limits instantly may not be important enough to warrant such an extra load. The logic could definitely be optimized here.

In my plugin I've added a quick fix simply reducing the number of calls by 99.5% (allowing one every 3 seconds). This may not be ideal, but helps for now. You would certainly have a better fix than this.

See MyPlayerCollectionPatch in

Run this test world in DS to reproduce (OneDrive due to its size):!AqEgz8G_d8TSh8wPzLoPp_dQDBRb7g?e=eBhsuv

Replies (1)


Hello, Viktor,

thanks for letting us know about this. Issue was reported internally.

Kind Regards

Keen Software House: QA Department

Leave a Comment
Attach a file