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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment