"Failed to open serial" / access denied
The Console shows something like:
❌ Failed to open serial on COM3: Access to the port 'COM3' is denied.Only one program can have a serial port open at a time. Something else has it.
Close whatever is holding the port:
- the Arduino IDE Serial Monitor or Serial Plotter (the most common cause)
- a second Unity Editor, or a built player of your game that’s still running
- serial terminals such as PuTTY or CoolTerm, or a browser tab using the port (including the Board tester)
Then press Play again.