raiguard / RecipeBook

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

Crash when loading map, attempt to get length of nil value #118

Closed robot256 closed 2 years ago

robot256 commented 2 years ago

When loading a game with SE beta and a few WIP mods. Not sure which recipe was the problem.

Snippet:

  44.509 Error AppManagerStates.cpp:1600: The mod Recipe Book (3.4.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event RecipeBook::on_configuration_changed
__RecipeBook__/scripts/database/entity.lua:30: attempt to get length of field 'products' (a nil value)
stack traceback:
    __RecipeBook__/scripts/database/entity.lua:30: in function 'entity'
    __RecipeBook__/scripts/database.lua:64: in function 'build'
    __RecipeBook__/control.lua:229: in function <__RecipeBook__/control.lua:222>

Full log attached. Is there anything else you need me to check in my configuration?

factorio-current.log