1377.388 Error MainLoop.cpp:1435: Exception at tick 14733475: The mod GUI Unifier (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event GUI_Unifyer::on_built_entity (ID 6)
__GUI_Unifyer__/control.lua:1037: attempt to index global 'global' (a nil value)
stack traceback:
__GUI_Unifyer__/control.lua:1037: in function <__GUI_Unifyer__/control.lua:990>
I get A LOT of crashes because of this nil global. They were not always coming from on_built_entity
, but I can't remember the other functions (one may be the callback for when a ghost is built).
I seem to have noticed that this happens often when loading a save after a crash caused by other mods. It may just be a coincidence though, or me being paranoid.
I can usually solve this by disabling the mod, loading the save, saving without the mod, quitting, enabling the mod, and finally loading the last save.
But it has become extremely annoying.
Is there some way to disable this mod and restore the original gui?
If not, can you explain to me why the gui breaks?
EDIT
The disable-save-enable trick works to reset the gui state.