Search Issue Tracker
Duplicate
Votes
0
Found in
5.3.3f1
Issue ID
831827
Regression
No
Entering text and pressing enter multiple times in an Input Field while using Best Fit, results in text not showing (cropping)
Recreation steps:
1.Open Unity
2.Create a new scene
3.Add and Input field
4.Change the width of Rect Transform to 900 and the height to 300
5.Change the text to Best Fit under the paragraph section in the Text (script) component
6.Under Input Field (Script) component change Line type to Multi Line Newline
7 enter AAA
AAAAAAAAAAAAAA
aaaaa
aa
aaaaa
a
a
aaaaaaAAAAAAAAA
aaaAAAAAA
aaa
a
a
a
aAAA
aAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAA
aaaa
aAa
8. You will stop seeing any more letters as you type.
Actual vs Expected:
Expected: text scales to the textField size,
Actual: text disappears
Reproduced on Unity 5.3.4p6, 5.3.3f1, 5.2.4f1, 5.1.1f1.
in 5.1.1f1 it also throws an error
"String too long for TextMeshGenerator. Cutting off characters.
UnityEngine.EventSystems.EventSystem:Update()"
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #777337