UE 5.4 Virtual Keyboard Issue

In Unreal Engine 5.4, there is a bug where the Android keyboard doesn’t appear even when Improved Virtual Keyboard is enabled.
To fix it, you need to edit one file:

Go to:

Engine/Build/Android/Java/src/com/epicgames/unreal/GameActivity.java.template

Find the line:

public class VirtualKeyboardInput extends androidx.appcompat.widget.AppCompatEditText

and change it to:

public class VirtualKeyboardInput extends EditText

Then look for the line:

super.onSelectionChanged(selStart, selEnd);

and comment it out like this:

// super.onSelectionChanged(selStart, selEnd);

Save the file.

This will fix the issue and make the Android keyboard show up correctly.

1 Like