I get this error semi-randomly when interacting with the fuel slots in a locomotive, seems to happen every time when placing the cube into a fuel slot.
Error while running event Ultracube::on_tick (ID 0)
Ultracube/scripts/cube_search.lua:153: attempt to index local 'inventory' (a nil value)
stack traceback:
Ultracube/scripts/cube_search.lua:153: in function 'check_inventory'
Ultracube/scripts/cube_search.lua:250: in function 'cube_check_entity'
Ultracube/scripts/cube_search.lua:560: in function 'cube_search_graph'
Ultracube/scripts/cube_search.lua:846: in function 'update'
Ultracube/scripts/cube_fx.lua:286: in function 'tick'
Ultracube/control.lua:262: in function <Ultracube/control.lua:261>