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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Resolution Note:
The solution is to move / add the Layout component(s) to the parent Input Field object instead of on the child objects.