Hi,
First of all, thank you for your commitment :)
I suddendly began to get crashes when placing roboports. Error report was like:
The mod Roboport Technology (1.0.12) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event bot-batteries-technologies::on_built_entity (ID 6)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__bot-batteries-technologies/control.lua:205: in function 'on_built'
bot-batteries-technologies/control.lua:229: in function <bot-batteries-technologies/control.lua:219>
I'm on Space Exploration, and using a couple of other robots-oriented mods, but I'm in this game for about a hundred hours now and placing roboports has never been an issue until today.
I investigated a little, and simply made this modification: I added <code>if not entity.valid then return end</code> in line 205 of control.lua (between if statements). It made the trick.
Please let me know whether you need any more details. Kindly.