Search Unity

Unity UI New input system cause crash on iOS if more than 64 chars input in any InputField

Discussion in 'UGUI & TextMesh Pro' started by jayatubi, May 8, 2020.

  1. jayatubi

    jayatubi

    Joined:
    Dec 9, 2013
    Posts:
    143
    New input system cause crash on iOS if more than 64 chars input in any InputField

    Add an InputField in a scene.
    Build an iOS executable and launch on an iOS device.
    Tap the InputField on the device which would bring out the iOS native keyboard.
    Type more than 64 chars in the keyboard.
    App crashes.

    If disable the new input system it would be fine.

    Repoducable on 2019.3.11f1
     

    Attached Files:

    CPUCPU likes this.
  2. anatolyV

    anatolyV

    Joined:
    Nov 29, 2014
    Posts:
    63
    Siyka likes this.
  3. PandaArcade

    PandaArcade

    Joined:
    Jan 2, 2017
    Posts:
    128
    @jayatubi @aVolnov did you submit a bug report?

    The issue still exists in 2019.3.14f1

    We'll have to do a bunch of refactoring to allow us to switch Active Input Handling to Both :(
     
    Last edited: Jul 16, 2020
  4. CPUCPU

    CPUCPU

    Joined:
    Nov 15, 2019
    Posts:
    10
    Siyka and PandaArcade like this.
  5. CPUCPU

    CPUCPU

    Joined:
    Nov 15, 2019
    Posts:
    10
    FYI, the only workarounds right now are either to switch entirely to Unity's old Input System (and remove the new one) OR upgrade to Unity 2020.2.0a12.

    Question for those of you who switched back to the old Input System... were you able to do it easily? I'm running into an issue where when I build to iOS or Android, all native touch interactivity is lost. I can't tap/click any standing buttons/text fields. Not sure what's going on / how to fix it.


    Update: Nevermind, it turns out I just had to re-add the old Standalone Input Module back to the EventSystem game object.
     
    Last edited: Aug 5, 2020
  6. pistoleta

    pistoleta

    Joined:
    Sep 14, 2017
    Posts:
    539
    Last edited: Oct 23, 2020
    Siyka and PandaArcade like this.
  7. PandaArcade

    PandaArcade

    Joined:
    Jan 2, 2017
    Posts:
    128
    Yes so frustrating! o_O

    Why prioritize customers who are already invested in using Unity (and likely paying subscriptions) when they can fix the bugs in the latest versions of Unity to keep new customers and convert them into paying customers :(
     
    Siyka likes this.
  8. BenWilles

    BenWilles

    Joined:
    Mar 9, 2018
    Posts:
    41
    Really wonder if unity guys want too fool us.. Lots of bugs not get fixed in LTS version but in 2020.
    And unity tells to use LTS versions for production. How should we if basic things fail..
     
    Siyka and PandaArcade like this.
  9. KoalityGame

    KoalityGame

    Joined:
    Jan 30, 2016
    Posts:
    21
    The latest official release is 2020.1.11f1, is this bug fixed in that version?
     
  10. pistoleta

    pistoleta

    Joined:
    Sep 14, 2017
    Posts:
    539
    Any updates on this? I find hard to believe I have to limit my contact form to 64 characters just because of this

    EDIT:
    Fixed in 2020.2

    Fix In Review for 2019.4
     
    PandaArcade likes this.