Native input field plugin blocks input in Unity 5.4

I’m using a native input field plugin to get better text editing capabilities (copy, paste, selection, caret positioning). I’m having some trouble on Android with Unity 5.4. After the upgrade to Unity 5.4 displaying the native input field seems to prevent any Unity UI elements getting touch events.

I used to have similar behavior on Unity 5.3 already if I used UnityPlayerActivity instead of UnityPlayerNativeActivity. On 5.4 UnityPlayerNativeActivity was deprecated and Unity supports only UnityPlayerActivity now (although apparently there is still a class called UnityPlayerNativeActivity for backwards compatibility, but it seems to act like UnityPlayerActivity now). Has anybody else had similar problems? I wonder how Activity and NativeActivity input handling differ.

Source code (and a demo project) for the plugin can be found here: GitHub - YousicianGit/UnityNativeEdit: Unity Native Input Plugin for both iOS and Android (Unity UI compatible).

Ok, I managed to fix the problem. It seems that this plugin created a full screen view and when an Anroid EditBox was created, setFocusableInTouchMode(true) and setClickable(true) were called on the view. Apparently when using a NativeActivity this didn’t have an effect, but after switching to a basic Activity the full screen view started to block all the input events after these calls. Got it fixed by removing the setFocusableInTouchMode(true) and setClickable(true) calls: Fix blocking all input · YousicianGit/UnityNativeEdit@2a1b6af · GitHub. The EditBox still seems to accept input events just as it should.