New input system action won't work only on Android

Hey there,

I have the new input system in place working like a charm on Windows and in the editor, oddly enough I have a action called Next, which I set it up in some scripts to continue a dialog or some other action that depends on the player input. Within the dialog script it works fine(Android included), but with one other script I have the same Unity Event setup (in the Player Input Component) but only on Android it doesn’t even log an error or some debug logs I have in place. Tried to remove every piece of code from this script except debug log code to see it in logcat, with no success.
Is there any limitations on multiple scripts using the same action or something?
I really don’t know how to go from here, any ideas?

Unity version: 2019.4.5f1
New Input System version: 1.0.0

This is the code I’m testing:

public void OnNext(CallbackContext context)
{
        Debug.Log("NextInput1");
}
1 Like

After much try and error I managed to figure it out, at least somewhat.
I was assigning the PlayerInput in a Image object, for some reason it doesn’t work in that type of object. I created an empty GameObject with the PlayerInput and the script I was working with and the image as it’s child and now everything is working as intended.
The fact it’s working on Windows and in the Editor tells me the Android behaviour could be a bug(or the windows one for that matter)