Situation - I have created a very straightforward custom input processor following the dedicated manual page which you can find just below. I’m using 1.8.2 ‘Input System’ package version.
using UnityEditor;
using UnityEngine;
using UnityEngine.InputSystem;
#if UNITY_EDITOR
[InitializeOnLoad]
#endif
public class DeltaTimeProcessor : InputProcessor<float>
{
#if UNITY_EDITOR
static DeltaTimeProcessor()
{
Initialize();
}
#endif
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
static void Initialize()
{
InputSystem.RegisterProcessor<DeltaTimeProcessor>();
}
public override float Process(float value, InputControl control)
{
return value * Time.deltaTime;
}
}
Errors - While my processor appears as expected and can be assigned to bindings in the Input Manager, I got errors in console when launching Play Mode.
Related issue - During my research, I came across the following Unity discussion regarding the exact same error, appearing only in build releases. Having tried out the suggested workarounds, nothing has made my errors disappear.
Debugging - I also tried debugging the code on registration, it seems like the loaded InputProcessor gets registered correctly, at least on first glance.
Any help would be greatly appreciated.
Thank you!


