Redirect to the Docs main page.Docs

Troubleshooting NEW

Missing Input System Package

Fix missing InputAction reference errors when importing the asset.

When importing the asset into a new Unity project, you may encounter errors related to the InputAction class. This error occurs if the Input System package is not installed in the project.

Issue Description

Upon opening the project, you may see errors like the following in the Unity console:

error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

This happens because the Input System package is not included by default in new Unity projects.

Solution: Installing the Input System Package

To resolve this issue, follow these steps:

  1. Open the Unity Package Manager (WindowPackage Manager).
  2. In the Package Manager (Unity Registry), search for Input System.
  3. Click Install to add the package to your project.

Alternative: Using the Standard Input System

If you don't need the new Input System, you can switch back to Unity's standard input system. Our asset will use the standard input system by default to ensure better compatibility.

Confirmation

After installing the Input System package, the errors should be resolved. If you continue to encounter issues, try restarting Unity or recompiling scripts (EditPreferencesRegenerate Project Files).


This guide should help you quickly resolve the issue with the InputAction reference. If you have any further questions or need assistance, feel free to reach out to us!

On this page