Search Issue Tracker
By Design
Votes
0
Found in
5.4.0f3
Issue ID
823559
Regression
Yes
Input Field does not display its value when text is inputted through the script
To reproduce(attached 2 videos showing this):
1. Open the project attached by the user
2. Enter play mode
3. Enter some text in the Input field
4. Press the "Add" button
5. Observe how a new input field is created from a Prefab
6. Find the "chatNotificationMessagePrefab" in the hierarchy
7. Observe that child object "i_Message" has its Text property set to what you wrote in step 3, but this value is not displayed
Expected: Text that is seen in editor on "i_Message" is displayed
Actual: Text that is seen in editor on "i_Message" is not displayed
Reproduced on: 5.2.5f1, 5.4.0f3, 5.4.0p2, 5.5.0a6
Not reproducible on: 5.3.6p2
NOTES:
- I tried separating Input Field from the prefab, resetting it and the issue persisted
- Upon duplicating the "i_Message" child object "Text" and writing something in it the text was displayed
- Assigning the duplicated "Text" element to "i_Message" Text Component property produces different results:
When inputting text through "i_message" Text property only the first symbol is displayed, but when inputting text through the duplicated child object "Text" everything works as intended.
- On 5.3.6p2 everything works as intended
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
Add comment