Search Issue Tracker
Won't Fix
Votes
0
Found in
5.5.0b11
Issue ID
852013
Regression
No
Turning on 'Preferred Size' in Content Size Fitter prevents the text from showing up
If 'Preferred Size' (on Horizontal Fit) is set in Content size fitter and no text is entered to a text field before pressing play, the text doesn't show up when typing in play mode (gif 'Result A'). If some text is entered before pressing play, only the first letter is shown when text is entered during play mode (gif 'Result B').
Reproduction steps:
1. Open the attached file 'inputField_contentFitter';
2. Enter Play mode;
3. Find the object 'Result A' and write some text in the Input field from Inspector;
4. Leave Play mode;
5. Hide the object 'Result A' and show the object 'Result B';
5. Enter Play mode;
6. Find the object 'Result B' and write some text in the Input Field from Inspector;
Actual result: in the first case, the text doesn't show. In the second case, the first letter of the text shows up.
Expected result: in both cases, the text should show up.
Reproduced with: 5.3.6p3, 5.4.2f2, 5.5.0b11, 5.6.0a3.
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
Add comment