Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug 2018.1.6f5 - Inputfield.text gives double chars in Linux build (and no work around afaik)

Discussion in 'Linux' started by Reizla, May 14, 2019.

  1. Reizla

    Reizla

    Joined:
    Nov 5, 2013
    Posts:
    136
    I've posted part of this problem in https://forum.unity.com/threads/201...alogue-black-full-screen.676258/#post-4527412 already, but I can't get a work around of it.

    My code using any Inputfield.text in a Linux build results in a double input of the character/key pressed. The first character is the lower case of the pressed key, while the second is the actual character pressed.
    i.e. pressing 'a' would result in 'aa', pressing 'A' would result in 'aA' and pressing '@' would result in '2@'.

    Oddly enough, when I'm using Inputfield.text.Remove([Intpufield.text.Length-1]) to remove the last character inputed both the new results are wiped.

    Oddly enough, this issue is not there using Unity 5.6.3xf1. I have tried to copy the UnityEngine.UI.dll and UnityEngine.UI.dll.mdb files in the ./*_Data/Managed from the 5.6 version to the 2018.1 version (as well as other files in that directory), but with no success and/or complete failure to start the build.