Skip to main content
New Participant
January 30, 2019

Weird Green Textbox in Unity UI Input Field for Oculus Go

Hey all,

I am experiencing a weird bug that I cannot seem to find the solution to. In my Unity project, when I click an input field with the Oculus Go controller, a rectangular green textbox shows up at the very bottom of the screen for around one second, and it's headlocked. This seems to be an Android input field because when I fill up the input field, its fills up with the same characters. Also, this does not happen in the Unity editor.

I wish I could show you all a screenshot or video, but they did not show up at my attempts to create one. However, I created an Android build that you may all test.

https://drive.google.com/file/d/1PnbiD7p8NH5JpoKC-hNH2J9Egg2gn9kN/view?usp=sharing 

Game Engine: Unity 2018.2.13f1
Oculus Integration: 1.32.0

Please advise. Thanks! 
    This topic has been closed for replies.

    7 replies

    New Participant
    February 7, 2019
    Hi, i have the same problem. Enabling toggle "Hide Mobile Input" doesn't fix the problem. waiting for fix...
    Participant
    February 14, 2019
    I solved this issue by writing a class inherits from the input field. So remove the default InputField component and attach the MobileInput. Don't forget to assign some properties such as TextComponent and Placeholder inside the new MobileInput Component.
    using UnityEngine;
    using UnityEngine.UI;

    public class MobileInput : InputField
    {
    protected override void Start()
    {
    keyboardType = (TouchScreenKeyboardType)(-1);
    base.Start();
    }
    }

    Participant
    April 8, 2019

    yunhan0 said:

    I solved this issue by writing a class inherits from the input field. So remove the default InputField component and attach the MobileInput. Don't forget to assign some properties such as TextComponent and Placeholder inside the new MobileInput Component.
    using UnityEngine;
    using UnityEngine.UI;

    public class MobileInput : InputField
    {
    protected override void Start()
    {
    keyboardType = (TouchScreenKeyboardType)(-1);
    base.Start();
    }
    }



    this bugs out when using more than one inputfield :(

    New Participant
    May 17, 2019
    Hi, we are experiencing the same problem.
    This line (although it fixes the green box) unfortunately creates an endless flow of overflow exceptions on android causing the framerate to drop :-/
    keyboardType = (TouchScreenKeyboardType)(-1);
    Participant
    June 2, 2019
    @worldofvrgmbh @lostsomfan
    Sorry I've just noticed your reply.
    I read the source code of Unity's inputfield, I reckon there's no way to avoid this problem if using Unity's Input Field.
    Eventually solved this problem by using VRUIKit's customised input field.

    November 5, 2019
    We have the same bug. (2018.3.10f1)
    just to add a screenshot of the bug : 
    it's the green circle at the bottom.
    It appeears ~0.5s and it's very annoying.
    New Participant
    May 21, 2020
    (2019.2.11f1) We were having the same problem, but fixed it.

    It didn't occur on the Quest or Rift, only on the Go. It occurs only when you select the input field.
    The MobileInput code suggested above breaks with two input fields (Username/Password).

    We were able to solve by checking Hide Mobile Input and having Content Type be Custom. Screenshot attached.