Fix for Virtual Keyboard on Android with UE 5.4 not showing up

I encountered the issue and in Unreal slackers we found out that there is a fix that doesn’t require engine recompilation

https://github.com/EpicGames/UnrealEngine/pull/12111/commits/aafcb5ccf4117b3cd57bdba4cb49cf339e1ad5f3#diff-2ddaf093d913fc61ea4c1fec7894295381054605670bca07c20c9b820f317b9dR6397

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

 
 line 6397
 -      public class VirtualKeyboardInput extends androidx.appcompat.widget.AppCompatEditText 
 +	// BEGIN META SECTION - Keyboard Fix
 +	public class VirtualKeyboardInput extends EditText
 +	// END META SECTION - Keyboard Fix
 
 line 6430
 
 -	super.onSelectionChanged(selStart, selEnd);
 +	// BEGIN META SECTION - Keyboard Fix
 +	//super.onSelectionChanged(selStart, selEnd);
 +	// END META SECTION - Keyboard Fix
1 Like

Thank you for this truly, all of a sudden my keyboard stopped showing after some changes in the project and I was clueless. Stumbled upon this and boom, works like a charm!