Troubleshooting
| Symptom | Likely cause and fix |
|---|---|
CS0234 ... 'Ports' does not exist in the namespace 'System.IO' |
The API level is .NET Standard and a script was compiled without the define. Run Fix API Compatibility Level, or set Api Compatibility Level to .NET Framework. |
| Only one item under Tools > Serial Input Bridge | Same cause: scripts are switched off. Use Fix API Compatibility Level. |
| Nothing under Tools at all | Compile errors elsewhere in the project. See the Console. |
| Warning: “No Device Profile assigned” | Create a profile with Set Up Arduino and assign it to the SerialManager. |
| “No serial ports found” | Cable is charge-only, driver is missing, or the board isn’t plugged in. |
| “Failed to open serial” / access denied | Another program has the port: Arduino Serial Monitor, another Unity instance, a serial terminal. Close it. |
| Connected but no input | StandardFirmata isn’t uploaded (or the sketch was replaced), or the profile’s pins don’t match your wiring. Check the Console for “No Firmata reply”. |
| Opens in Safe Mode after changing the API level | Let Unity finish, set Api Compatibility Level to .NET Framework, then restart the Editor. |
Using Unity 2021.3? See also Troubleshooting on 2021.3.