Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Oculus System Keyboard does not return to app correctly

Discussion in 'Editor & General Support' started by pjchardt, May 10, 2023.

  1. pjchardt

    pjchardt

    Joined:
    Jul 16, 2015
    Posts:
    7
    When I select a TMP Input Field while running my app on Quest 2, the Oculus Keyboard appears as desired. However, when I click the enter button, the keyboard closes and then immediately reopens. If I click outside of the keyboard, the keyboard closes and focus resumes in the app, however the state is not correct because if I click on the TMP input field again, the Oculus Keyboard does not appear,

    I was not seeing this issue previously, and I am not sure what change introduced this behavior. I have upgraded the Oculus and XR plugins, as well as updating to Unity 2022.2, none of which fixed the issue. Has anyone else seen this behavior? The existing posts seem to have to do with the keyboard not showing up or an issue with focus while the keyboard is active. My issue is the keyboard does not correctly close and return focus correctly to the app.

    I am running Unity 2022.2.16
    XR Plugin Management 4.3.3
    XR Legacy Input Helpers 2.1.10
    Open XR Plugin 1.7.0
    Oculus XR Plugin 3.3.0
     
  2. dauswectus

    dauswectus

    Joined:
    Feb 7, 2020
    Posts:
    2
    Hey!

    I got the same issue:
    Clicking on the TMP input field brings up the keyboard fine but when submitting the keyboard disappears and pops up again and I cant type anything or submit again, I have to click out to close keyboard. If I try to click on the Inputfield again, It doesn't show up, I have to click again to make the keyboard show up again.

    Also tried out old builds, got the same issue, so I'm assuming Oculus v53 update did this.
    Also checked the builds on Quest1 which has Oculus v50 and works fine there.

    I've tried to revert my plugins versions, but didn't help.

    Tried with:
    Unity 2020.3.46f1, 2020.3.34f1

    XR Plugin Management 4.3.3, 4.2.1
    XR Legacy Input Helpers 2.1.7
    Open XR Plugin 1.7.0, 1.6.0
    Oculus XR Plugin 3.3.0
    TMP 3.0.6, 3.2.0-pre.4
     
  3. nomolos_unity

    nomolos_unity

    Joined:
    Dec 8, 2020
    Posts:
    1
    Having the same issue!!! I'm not crazy
     
  4. jakewhite1225

    jakewhite1225

    Joined:
    Aug 11, 2021
    Posts:
    2
    Having this issue as well on Unity 2021.3.25f1. Updated the Oculus integration to no avail.
    In Android Logcat, this error appears when the system keyboard fails:
     
  5. terence-lo-vrvision

    terence-lo-vrvision

    Joined:
    Oct 20, 2021
    Posts:
    1
    Chiming in to say we've got pretty much the same issues as described above.

    Using:
    Unity 2021.3.22f1
    XR Plugin Management 4.2.1
    XR Legacy Input Helpers 2.1.10
    Open XR Plugin 1.7.0
    Oculus XR Plugin 3.2.3
     
  6. theblindhawk

    theblindhawk

    Joined:
    Apr 21, 2017
    Posts:
    4
    We are having the same bug on 2021.3.18f1 as described above.
     
  7. budwheizzah

    budwheizzah

    Joined:
    Apr 3, 2014
    Posts:
    13
    Same issue 2021.3.21f1
    Now two months running

    PS: If anyone have ifgured out a workaround I'm all ears. I'll post back if I find one.
     
  8. DreamcatcherProduciton

    DreamcatcherProduciton

    Joined:
    Sep 29, 2016
    Posts:
    32
    This also happens on Unity 2022.3.4.

    Here's my packages:

    Code (JavaScript):
    1. {
    2.   "dependencies": {
    3.     "com.atteneder.draco": "https://github.com/ReachCloudDevelopers/DracoUnity.git",
    4.     "com.coffee.softmask-for-ugui": "https://github.com/mob-sakai/SoftMaskForUGUI.git",
    5.     "com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask",
    6.     "com.siccity.gltfutility": "https://github.com/ReachCloudDevelopers/GLTFUtility.git",
    7.     "com.unity.2d.sprite": "1.0.0",
    8.     "com.unity.ai.navigation": "1.1.4",
    9.     "com.unity.animation.rigging": "1.2.1",
    10.     "com.unity.assetbundlebrowser": "https://github.com/Unity-Technologies/AssetBundles-Browser.git",
    11.     "com.unity.burst": "1.8.7",
    12.     "com.unity.cinemachine": "2.9.7",
    13.     "com.unity.collab-proxy": "2.0.5",
    14.     "com.unity.feature.development": "1.0.1",
    15.     "com.unity.ide.rider": "3.0.24",
    16.     "com.unity.ide.visualstudio": "2.0.18",
    17.     "com.unity.ide.vscode": "1.2.5",
    18.     "com.unity.inputsystem": "1.6.1",
    19.     "com.unity.jobs": "0.70.0-preview.7",
    20.     "com.unity.mathematics": "1.2.6",
    21.     "com.unity.memoryprofiler": "1.0.0",
    22.     "com.unity.mobile.android-logcat": "1.3.2",
    23.     "com.unity.nuget.mono-cecil": "1.11.4",
    24.     "com.unity.nuget.newtonsoft-json": "3.2.1",
    25.     "com.unity.postprocessing": "3.2.2",
    26.     "com.unity.probuilder": "5.1.0",
    27.     "com.unity.render-pipelines.universal": "14.0.8",
    28.     "com.unity.scriptablebuildpipeline": "1.21.5",
    29.     "com.unity.shadergraph": "14.0.8",
    30.     "com.unity.splines": "2.3.0",
    31.     "com.unity.test-framework": "1.1.33",
    32.     "com.unity.textmeshpro": "3.0.6",
    33.     "com.unity.timeline": "1.7.5",
    34.     "com.unity.ugui": "1.0.0",
    35.     "com.unity.vectorgraphics": "2.0.0-preview.21",
    36.     "com.unity.visualscripting": "1.8.0",
    37.     "com.unity.xr.arcore": "5.0.6",
    38.     "com.unity.xr.arfoundation": "5.0.6",
    39.     "com.unity.xr.core-utils": "2.2.1",
    40.     "com.unity.xr.hands": "1.2.1",
    41.     "com.unity.xr.interaction.toolkit": "2.4.0",
    42.     "com.unity.xr.management": "4.3.3",
    43.     "com.unity.xr.mock-hmd": "1.3.1-preview.1",
    44.     "com.unity.xr.oculus": "4.0.0",
    45.     "com.unity.xr.openxr": "1.8.1",
    46.     "jillejr.newtonsoft.json-for-unity.converters": "https://github.com/jilleJr/Newtonsoft.Json-for-Unity.Converters.git#upm",
    47.     "com.unity.modules.ai": "1.0.0",
    48.     "com.unity.modules.androidjni": "1.0.0",
    49.     "com.unity.modules.animation": "1.0.0",
    50.     "com.unity.modules.assetbundle": "1.0.0",
    51.     "com.unity.modules.audio": "1.0.0",
    52.     "com.unity.modules.cloth": "1.0.0",
    53.     "com.unity.modules.director": "1.0.0",
    54.     "com.unity.modules.imageconversion": "1.0.0",
    55.     "com.unity.modules.imgui": "1.0.0",
    56.     "com.unity.modules.jsonserialize": "1.0.0",
    57.     "com.unity.modules.particlesystem": "1.0.0",
    58.     "com.unity.modules.physics": "1.0.0",
    59.     "com.unity.modules.physics2d": "1.0.0",
    60.     "com.unity.modules.screencapture": "1.0.0",
    61.     "com.unity.modules.terrain": "1.0.0",
    62.     "com.unity.modules.terrainphysics": "1.0.0",
    63.     "com.unity.modules.tilemap": "1.0.0",
    64.     "com.unity.modules.ui": "1.0.0",
    65.     "com.unity.modules.uielements": "1.0.0",
    66.     "com.unity.modules.umbra": "1.0.0",
    67.     "com.unity.modules.unityanalytics": "1.0.0",
    68.     "com.unity.modules.unitywebrequest": "1.0.0",
    69.     "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    70.     "com.unity.modules.unitywebrequestaudio": "1.0.0",
    71.     "com.unity.modules.unitywebrequesttexture": "1.0.0",
    72.     "com.unity.modules.unitywebrequestwww": "1.0.0",
    73.     "com.unity.modules.vehicles": "1.0.0",
    74.     "com.unity.modules.video": "1.0.0",
    75.     "com.unity.modules.vr": "1.0.0",
    76.     "com.unity.modules.wind": "1.0.0",
    77.     "com.unity.modules.xr": "1.0.0"
    78.   },
    79.   "scopedRegistries": [
    80.     {
    81.       "name": "package.openupm.com",
    82.       "url": "https://package.openupm.com",
    83.       "scopes": [
    84.         "com.atteneder"
    85.       ]
    86.     }
    87.   ]
    88. }
     
    Last edited: Jun 28, 2023
  9. dauswectus

    dauswectus

    Joined:
    Feb 7, 2020
    Posts:
    2
    Looks like it got patched? At least part of it...

    Submit button works as it should, but when I want to close it clicking outside of the keyboard I have to click a few times and after that I have to click the inputfield two times to reopen the keyboard.

    I use the same build, nothing changed on my end, whats changed is Oculus OS version is v55

    Can someone else confirm this?