Autobuild Fork


Autobuild allows your character to automatically build, deconstruct, and upgrade nearby ghosts. A more efficient alternative to mods like Bluebuild.

Content
5 days ago
2.1
45

b Crash on save load after installing Autobuild Fork

a day ago

Hi,

I'm having an issue when trying to load an existing save after installing the mod.

When I load the save, I get the following error:

Error while running event autobuild_fork::on_configuration_changed
"autobuild" is not an active and valid mod.
stack traceback:
[C]: in function 'clear'
autobuild_fork/control.lua:119: in function <autobuild_fork/control.lua:117>

Is this a known issue?

Thanks in advance for your help!

20 hours ago

Yes, I've encountered the same issue too.

12 hours ago

Loading a save crashes with "autobuild" is not an active and valid mod" because control.lua (line 119) calls rendering.clear("autobuild"), but the fork's mod name in info.json is "autobuild_fork", so that string no longer matches an active mod.

Fix in control.lua: change it to rendering.clear("autobuild_fork").
(Optional: same file, line 104's remote.add_interface("autobuild", ...) also still uses the old name and could collide with the original mod.)

New response