Hi!
If Realistic Reactors is installed, deconstructing solar panels or heat pipes can throw up the following error. I haven't figured out exactly why or how because it's not always consistent, but it seems to happen more with larger networks of pipes and solar. In particular, I'm using large thermal solar panels with some piping in between (for #aesthetics), and I get this error almost every time I try to deconstruct the thermals or their pipes:
The mod Realistic Reactors (3.1.4) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event RealisticReactors::on_pre_player_mined_item (ID 11)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__RealisticReactors/scripts/heat/math.lua:47: in function 'calculate_score'
RealisticReactors/scripts/heat/math.lua:59: in function <RealisticReactors/scripts/heat/math.lua:52>
(...tail calls...)
RealisticReactors/scripts/heat/math.lua:271: in function 'callback'
RealisticReactors/scripts/heat/math.lua:211: in function 'neighbour_cells'
RealisticReactors/scripts/heat/math.lua:265: in function 'inside_linked_entities'
RealisticReactors/scripts/heat/math.lua:315: in function 'get_linked_entities'
RealisticReactors/scripts/heat/network.lua:307: in function 'split_heat_network_cell'
RealisticReactors/scripts/heat/network.lua:526: in function 'remove_entity_from_network_cell'
RealisticReactors/scripts/heat/network.lua:607: in function 'remove_reactor'
RealisticReactors/scripts/events/destruct.lua:116: in function 'entity'
RealisticReactors/control.lua:61: in function <RealisticReactors/control.lua:59>
I realise this is technically Realistic Reactors crashing, and you're of course not obliged to do anything about this, but I thought I'd let you know!