First off, thanks for porting this, it's one of my favorite mods!
I think the drones are meant to be used with Space Age, so I think this bug report is appropriate.
It occurs when calling up the deconstruction planner on a space platform. Sometimes a drone will actually appear, emanating from the platform hub. It happens too quick for me to tell if the issue is the drone leaving the hub or returning, but the text below seems to indicate it's upon return.
It might be related to calling up the deconstruction planner while sections of the platform are being built, but it is not consistent. I would say that some amount of spamming of construction and deconstruction will eventually trigger the error:
The mod Updated Construction Drones (2.0.4) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event Updated_Construction_Drones::on_ai_command_completed (ID 129)
LuaEntity belongs to surface nauvis (index 1) but a LuaEntity belonging to surface platform-2 (index 3) was expected.
stack traceback:
[C]: in function 'set_command'
...ated_Construction_Drones__/script/construction_drone.lua:1207: in function 'move_to_player'
...ated_Construction_Drones__/script/construction_drone.lua:1898: in function 'process_return_to_player_command'
...ated_Construction_Drones__/script/construction_drone.lua:518: in function 'set_drone_idle'
...ated_Construction_Drones__/script/construction_drone.lua:1167: in function <...ated_Construction_Drones__/script/construction_drone.lua:1135>
(...tail calls...)
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>