ok, i caught it in action and can semi-reliable repeat it.
it happens when the inserter drops the cube into a machine or grabs it out of one.
i have caught it happening with boilers, synthesizer and ultra dense furnace, all in combination with a recovery bay and fast inserters.
i have looked through my mods, there is nothing that can cause this issue.
none of the mods affect inserters, besides bobs adjustable inserters, but that mod has never caused a crash for me before.
i also got a slightly different error message during the tests:
Error while running event Ultracube::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__Ultracube/scripts/cube_search.lua:338: in function 'cube_search_transport_lines'
Ultracube/scripts/cube_search.lua:546: in function 'cube_search_local'
Ultracube/scripts/cube_search.lua:901: in function 'update'
Ultracube/scripts/cube_fx.lua:565: in function 'tick'
Ultracube/control.lua:318: in function <Ultracube/control.lua:316>
could this be an issue caused by the cube tracker or the cube explosion animation, that happens if it's triggered the moment the cube goes into the machine?