raiguard / RecipeBook

Recipe Book for Factorio.
MIT License
19 stars 9 forks source link

Crash on loading save - RecipeBook::on_load() #160

Closed Atlntssplayer closed 4 months ago

Atlntssplayer commented 4 months ago

Hi

I got this error on loading a save:

The mod Recipe Book (3.5.7) caused a non-recoverable error. Please report this error to the mod author.

Error while running event RecipeBook::on_load() RecipeBook/scripts/database/technology.lua:68: attempt to index local 'recipe_data' (a nil value) stack traceback: RecipeBook/scripts/database/technology.lua:68: in function 'technology' RecipeBook/scripts/database.lua:73: in function 'build' RecipeBook/control.lua:196: in function <RecipeBook/control.lua:191>

thx for this great mod

raiguard commented 4 months ago

This happened because you changed mod contents without changing mod versions, leading to an invalid database state. This is unfixable in the current version but no longer happens in the 4.0 rewrite.