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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Group Selection title text size is smaller in renaming than the actual font size
- Rich Text is not correctly highlighted when searching through Debug Logs in the Console window
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
Add comment