Enable Keyboard Overlay
Updated: Nov 6, 2026
While you can use physical Bluetooth keyboards for text entry on a Meta VR device, interacting with a system keyboard inside a VR app can create a more immersive experience. The keyboard overlay feature lets you display and enter text using the system keyboard, avoiding the need to develop your own custom keyboard experience. The keyboard overlay lets you access features such as voice dictation and multiple language support.

- Development machine running one of the following:
- Unity Editor 6000.0.66f2 or later (6.1 or later recommended)
Enable the system keyboard
When you set up the system keyboard to appear as an overlay, it automatically appears when an editable UI text element receives the input focus. When the app displays the keyboard, it loses the input focus, triggering the OVRManager.InputFocusLost event. When the app closes the keyboard, it gains the input focus, triggering the OVRManager.InputFocusAcquired event.
Meta Horizon OS treats your app as focus aware, so you do not need to set up
focus awareness.
To use the system keyboard, enable the project setting from Unity, and optionally invoke the system keyboard programmatically as well.
Enable system keyboard from Unity
To enable the keyboard overlay project setting:
- From the Hierarchy view, select OVRCameraRig to open settings in the Inspector view.
- Under OVR Manager, in the Quest Features section, select Requires System Keyboard.
Enable system keyboard programmatically
- Select Requires System Keyboard, as described in the procedure above. This setting makes the Meta XR Core SDK add the
oculus.software.overlay_keyboarduses-feature entry to the app manifest. An immersive app needs this entry to open the system keyboard. Declare a variable to store the TouchScreenKeyboard instance and a variable to hold the string the keyboard returns.
private TouchScreenKeyboard overlayKeyboard;
public static string inputText = "";
When a text UI element receives focus, call the TouchScreenKeyboard.Open() method to activate the keyboard. Doing so takes input focus away from the app, triggering the OVRManager.InputFocusLost event. Pass TouchScreenKeyboardType.Default to the method since it is the only supported type for keyboard overlay.
overlayKeyboard = TouchScreenKeyboard.Open("", TouchScreenKeyboardType.Default);
To retrieve the typed contents, call the TouchScreenKeyboard.text property to return the text displayed in the input field of the keyboard and store it in the variable to use it elsewhere.
if (overlayKeyboard != null)
inputText = overlayKeyboard.text;
To test or preview the keyboard overlay feature, do the following:
- Open the app in which you’ve implemented the keyboard overlay feature.
Point the cursor to the editable UI text element.
You can see the system keyboard overlay on the app.