I started getting a similar error today:
The mod Disco Science caused a non-recoverable error.
Please report this error to the mod author.
Error while running event DiscoScience::on_tick (ID 0)
There is no valid object with id 1095.
stack traceback:
DiscoScience/control.lua:285: in function <DiscoScience/control.lua:263>
stack traceback:
[C]: in function 'get_visible'
DiscoScience/control.lua:285: in function <DiscoScience/control.lua:263>
In my case, it seems to be tied to the mod Unit Control, which I just installed today. I swapped out versions, and it starts with version 0.1.13 of Unit Control.
Hope this helps.