Page 1 of 1

[1.1.25] Crash on saving, in lua

Posted: Mon Mar 01, 2021 11:50 am
by Sakari119
I playing around with the mountain defence scenario when the autosave kicked in causing a hard crash.
Log files below will test if replicable.

Re: [1.1.25] Crash on autosave

Posted: Mon Mar 01, 2021 11:53 am
by Sakari119
The autosave attempt left a file, but does not work

Re: [1.1.25] Crash on saving, in lua

Posted: Mon Mar 01, 2021 1:07 pm
by Klonan
Can you attach a working save game?

Re: [1.1.25] Crash on saving, in lua

Posted: Tue Mar 02, 2021 9:50 pm
by Rseding91
Looking at the crash log; it looks like what ever script/mod(s) you're using caused a stack overflow making infinite recursion and that broke everything.

Also it looks like it happened during saving which says maybe a mod was also messing with meta tables and iteration and broke stuff.

If you or someone can post a working version of the save and a version that crashes on saving I might be able to make the error better but the infinite recursion is up to the mod to fix first.