Steps to reproduce-
Download map
/c game.map_settings.path_finder.short_cache_size = 7
/toggle-heavy-mode
Toggle heavy mode fails. Changing the long_cache_size will also cause a desync.
[boskid][1.1.104] Desync after setting pathfinder cache size while pathfinder is in use
[boskid][1.1.104] Desync after setting pathfinder cache size while pathfinder is in use
- Attachments
-
- pathfinder-desync.zip
- (4.93 MiB) Downloaded 26 times
Re: [boskid][1.1.104] Desync after setting pathfinder cache size while pathfinder is in use
Thanks for the report. Issue is now fixed for 2.0.
Root cause is that a/ writing to map_settings does not trigger cache resize, and b/ cache is resized on load. Desync would not happen if any of those 2 would not happen. Main fix for 2.0 is that writing to map_settings will immediately resize those caches to new size.
Root cause is that a/ writing to map_settings does not trigger cache resize, and b/ cache is resized on load. Desync would not happen if any of those 2 would not happen. Main fix for 2.0 is that writing to map_settings will immediately resize those caches to new size.