Search Issue Tracker

Won't Fix

Votes

0

Found in

5.6.3p2

Issue ID

1051158

Regression

No

Entering a composite string into InputField at high speed modifies multiple InputFields

uGUI

-

Steps to reproduce:
0.1. Install Chinese (Traditional, Taiwan) keyboard input
0.2. Install AHK (AutoHotKey)
1. Open QA attached project
2. Activate AHK script at the project root
3. Enter play mode and activate one of the input fields
4. Switch to Chinese input
5. Press AHK script shortcut 'CTRL+G' (a series of symbols will be entered at high speed)

Reproduced on: 2017.4.6f1, 2018.1.6f1, 2018.2.0b9, 2018.3.0a3

InvalidOperationException: HashSet have been modified while it was iterated over
System.Collections.Generic.HashSet`1+Enumerator[UnityEngine.UI.Text].CheckState ()
System.Collections.Generic.HashSet`1+Enumerator[UnityEngine.UI.Text].MoveNext ()
UnityEngine.UI.FontUpdateTracker.RebuildForFont (UnityEngine.Font f) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/FontUpdateTracker.cs:50)
UnityEngine.Font.InvokeTextureRebuilt_Internal (UnityEngine.Font font) (at C:/buildslave/unity/build/Modules/TextRendering/TextRendering.bindings.cs:354)
UnityEngine.EventSystems.EventSystem:Update()

Comments (1)

  1. 4c116a03697090ad6ca8648dc526d4da?d=mm

    W-Eight88

    Apr 25, 2019 08:53

    I fixed it, use a font Arial.
    It is basic font.
    I use Inputfield in Korean. So I saw same warning message, So I change text font in inputfield.
    And I fixed.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.