Performance - Safe zone IsActionAllowed

Guest shared this bug 17 months ago

Game version: 1.200.032


- MySafeZone.IsActionAllowed

- MySessionComponentSafeZones.IsActionAllowedForSafezone

The above methods are called frequently on multiplayer servers with many safe zones and grids, imposing a significant CPU load.

I've added simple caching of their result for up to 2 seconds reducing the CPU load by ~99%. You may want to apply a better fix.

See MySafeZonePatch and MySessionComponentSafeZonesPatch 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. The issue was reported internally.

Kind Regards

Keen Software House: QA Department

Leave a Comment
Attach a file