Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
fevergrayvan's avatar
fevergrayvan
Honored Guest
3 years ago
Solved

[Unity] Virtual Keyboard feature not working

Greetings.
Issue:
I and my team attempted to enable Oculus overlay/virtual keyboard but failed.
Related links/attempted approaches:

Spoiler


Fix attempts by chronology:
Trigger VK via Input Field in the old project's game scene
Trigger VK via code in the old project's game scene
Trigger VK via Input Fields/Buttons in Oculus VirtualKeyboardSample scene in the old project
Trigger VK via code in Oculus VirtualKeyboardSample scene in the old project
Trigger VK via previous methods, after updating Oculus Integration/OVR
Trigger VK via all previous methods in the same project, but migrated in the new repo


Created blank Unity project, imported/configured VR-related packages, Oculus Integration/OVR, tried to trigger VK via Oculus VirtualKeyboardSample scene


Most of the attempts resulted in this error log:
[OVRPlugin] [CreateVirtualKeyboard] m_XR_META_virtual_keyboard extension is not available (arvr\prjects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:12543)
Create failed: 'Failure_InvalidOperation'. Check for Virtual Keyboard Support.


Unity version 2021.3.26f1 LTS
Oculus XR Plugin version: 3.3.0
Oculus Integration versions: 54 and 55
OVRPlugin: 1.86.1


Important note: We tried to run the sample, on the same branch/commit, but on different devices/users. 2 out of 6 developers got the keyboard working as intended, others received the error log mentioned above. Seems very strange to me


After all attempts, it looks like there's a problem with the OVRPlugin .dll, and not a problem from our side. Any help/suggestions/tips/solutions would be highly appreciated.
Expected result: We can access Oculus Overlay/Virtual keyboard after interacting with text UI elements in VR to edit text.

  • Stumbled upon this one too, very good tip, and may be helpful for others.
    However, my problem was related to the other issue.
    For anyone who stumbled upon a mentioned problem:
    Make sure you have the "Developer Runtime Features" turned on in your Oculus App. That way, OpenXR extensions (in my case, Virtual Keyboard) could be accessed via Oculus Link
    You can find this setting in Oculus App => Settings => Beta => Developer Runtime Features

    I'm really shocked, that I couldn't find any info about this anywhere.
    Hope this helps!

3 Replies

Replies have been turned off for this discussion
  • Figured it out!

    In XR Plugin Management, you must have Oculus enabled for as the Plugin Provider (not OpenXR) for the Windows Platform.  This made the difference between me having the error and it appearing normally

     

    • fevergrayvan's avatar
      fevergrayvan
      Honored Guest

      Stumbled upon this one too, very good tip, and may be helpful for others.
      However, my problem was related to the other issue.
      For anyone who stumbled upon a mentioned problem:
      Make sure you have the "Developer Runtime Features" turned on in your Oculus App. That way, OpenXR extensions (in my case, Virtual Keyboard) could be accessed via Oculus Link
      You can find this setting in Oculus App => Settings => Beta => Developer Runtime Features

      I'm really shocked, that I couldn't find any info about this anywhere.
      Hope this helps!

      • Baked0's avatar
        Baked0
        Honored Guest

        I was having the exact same problem! I couldn't find any documentation for this stuff so thanks for posting this solution, it worked for me!