Anyone knows solution for this problem?
PROBLEM
Duplicated string passed to the Input Field for Japanese IME.
Problem occurs when you confirm the interpretation by click instead of hitting Enter.
Other East Asian languages e.g. Chinese, Korean may be affected by this problem.
Unity 5.4.1f1 has this problem.
STEPS TO REPRO
- Create new scene and open in Unity Editor.
- Put an Input Field in the scene.
- Play in editor.
- Click Input Field.
- Switch Japanese IME to HIRAGANA mode.
- Put てすと then hit space to interpret it to テスト. Do NOT hit Enter to confirm.
- Click Input Field to confirm the interpretation.
EXPECTED BEHAVIOR
“テスト” is confirmed and put in the Input Field.
ACTUAL RESULT
“テストテスト” is set in the Input Field.
NOTES
Input.inputString passes duplicated string to Input Field on click.