07-21-2023 07:23 AM
Greetings.
Issue:
I and my team attempted to enable Oculus overlay/virtual keyboard but failed.
Related links/attempted approaches:
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.
Solved! Go to Solution.
08-01-2023 01:34 AM
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!
07-31-2023 03:44 PM
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
08-01-2023 01:34 AM
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!
09-06-2023 08:07 AM
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!