Skip to content

Unity 2021.3 setup

Serial Input Bridge runs in Unity 2021.3.18 or newer (tested on 2021.3.45f2). The Asset Store lists a newer minimum only because it no longer accepts uploads from 2021.3. The code itself supports 2021.3.

Send your invoice number with the 2021.3 package request form. You’ll receive a .unitypackage built in Unity 2021.3.

Do this before importing the .unitypackage, so the errors you’d otherwise see don’t hide the real ones.

Package Version for 2021.3 How
Input System 1.15.0 Window > Package Manager > + > Add package by name > com.unity.inputsystem, version 1.15.0
TextMeshPro 3.0.x (comes with 2021.3) Window > Package Manager > Unity Registry > TextMeshPro. Accept Import TMP Essentials when asked.

When Input System asks whether to enable the new input backends, choose Yes. Or set it yourself:

Edit > Project Settings > Player > Other Settings > Active Input Handling = Both (or Input System Package (New)), then let Unity restart.

If you skip this, everything compiles but no input from the board reaches your actions.

  1. Assets > Import Package > Custom Package, and pick the .unitypackage you received.
  2. Run Tools > Serial Input Bridge > Fix API Compatibility Level. It sets Api Compatibility Level to .NET Framework and turns the package’s scripts on (scripting define SERIAL_INPUT_BRIDGE). 2021.3 also defaults to .NET Standard, which has no serial port support. You can set Api Compatibility Level yourself instead (Edit > Project Settings > Player > Other Settings); the define follows.
  3. The full Tools > Serial Input Bridge menu appears. Carry on with the Quick start.
Symptom Fix
Errors inside Library/PackageCache/com.unity.inputsystem@1.16 (or newer) Downgrade Input System to 1.15.0 (step 2).
CS0234 ... 'Ports' does not exist in the namespace 'System.IO' Api Compatibility Level is .NET Standard. Run Fix API Compatibility Level (step 4).
Only one item under Tools > Serial Input Bridge Same cause as above.
Compiles fine, connects, but no input Active Input Handling is still Input Manager (Old). Set it to Both (step 3).
FindAnyObjectByType does not exist Your Editor is older than 2021.3.18. Update to the latest 2021.3 LTS.

Everything else (wiring, profiles, the Input Actions Wizard) works the same as in Unity 6.