Search Issue Tracker

By Design



Found in [Package]


Issue ID




[Input System] InvalidOperationException error thrown in Player when using a Custom Processor

Package: Input System


Reproduction steps:
1. Download and open the attached project called "Scavenger"
2. Build and Run the project with Development Build checked
3. Observe the Development Console

Expected result: No errors appear in the Development Console
Actual result: InvalidOperationException error is thrown

Reproducible with: 2019.4.3f1, 2020.1.0b14, 2020.2.0a17 (Input System 1.0.0-preview.1 - 1.0.0)
Could not test with: 2018.4.24f1 (due to errors being thrown in the Editor when using older versions of the package)

Note: The error seems to be harmless as described by the user

  1. Resolution Note:

    Must use [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] here to ensure registrations are available when input actions are set up as part of scene loading. We've updated the docs to reflect the practice.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.