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. Dismiss Notice

Question Cannot type into an input field on iOS - using Bluetooth keyboard

Discussion in 'Editor & General Support' started by daveMennenoh, Apr 3, 2023.

  1. daveMennenoh

    daveMennenoh

    Joined:
    May 14, 2020
    Posts:
    100
    I _really_ need a hand here.

    I have a super simple example. An input field and a text field. When I press Enter the input field's text is supposed to be copied to the text field. I have tried using TMP input fields as well as legacy input. I can open Notes and type into it without problem. But I get mostly nothing in Unity - an occasional key press.

    Why can I not type into an input field using an external keyboard?

    I am using Cloud build to build for iOS. Settings are:

    Me: Unity 2021.3.2f1

    CloudBuild:
    Default iOS
    Unity 2022.2.11f1
    Xcode 14.1.0
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,713
    What happens if you just use Input.inputString in an Update() loop... do you get all the test characters?
     
  3. daveMennenoh

    daveMennenoh

    Joined:
    May 14, 2020
    Posts:
    100
    No. I tried that already too. However, I am getting somewhere finally. I deleted my TMP fields and am using only legacy input now. If I don't hide mobile input then everything is working. But I have to hide the iOS kbd manually.. I guess that's OK. If I tell unity to hide it, I can't type in the field. Odd.
     
  4. Muckel

    Muckel

    Joined:
    Mar 26, 2009
    Posts:
    470
    it's broken.... on iOS and Unity doesn't care! also the LTS is broken... since v 23.3.2021LTS :-(

    they don't care about Mac user!
    forget it...