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
- Crash on [NSApplication endModalSession:] when saving while Play Mode is loading
- Incorrect Preferred Height calculation when a single text line uses different Font Assets
- [ShaderGraph] Redo Collapse Nodes action does not fully collapse the Nodes
- [Ubuntu] Mouse cursor is set box select mode after exiting VFX Graph's Rename Context function
- Unrecognized identifier DECLARE_STACK_CB error is thrown when VirtualTexture Property is used with Custom RenderTexture 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.