Skip to content

"Lost connection on COM…"

The Console shows:

⚡ Lost connection on COM3.

The port closed while Unity was using it: the cable was pulled, the board reset, or USB power dropped (often from a servo or motor drawing too much current).

  • Turn on Auto Reconnect on the SerialManager. It retries every Reconnect Interval seconds (5 by default), and output helpers send their last values again once the board is back.
  • Power servos and motors from a separate supply, with its GND connected to the Arduino’s GND.
  • Try another USB port or cable, and avoid unpowered USB hubs.