Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
3.0.1
Issue ID
1275289
Regression
No
Errors are thrown in the Console log when a Layout Group Component is added to the TMP Input Field's Text Area GameObject
How to reproduce:
1. Open the attached "1275289_TMPInputfield.zip" project
2. Open the "SampleScene" Scene
3. Enter Play Mode
4. Enter some text in the Input Field in the Game view
5. Observe the Console log
Expected result: No errors messages are thrown in the Console log
Actual result: "Trying to add Caret (TMPro.TMP_SelectionCaret) for graphic rebuild while we are already inside a graphic rebuild loop. This is not supported." error messages are spammed in the Console log
Reproducible with: 1.5.1 (2018.4.28f1), 2.1.1 (2019.4.12f1), 3.0.1 (2020.1.10f1, 2020.2.0b8, 2021.1.0a1)
Note:
- The issue is not reproducible if the TMP Input Field's Text Area GameObject doesn't have a Vertical/Horizontal Layout Group Component added
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
- UI Source Image property gets set to 'None' when using a specific Sprite and Play mode is entered
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
Resolution Note:
The solution is to move / add the Layout component(s) to the parent Input Field object instead of on the child objects.