Search Issue Tracker
Fixed in 1.5.2, 2.1.2, 3.0.2
Votes
1
Found in [Package]
3.0.0 - preview.3
Issue ID
1266096
Regression
Yes
[TMP] ArgumentException is thrown when creating TextMeshPro Text GameObjects using the context menu while in prefab mode
How to reproduce:
1. Open user-submitted project (UnityBug_TMPPrefabModeAddText.zip)
2. Open the SampleScene
3. Open the Screen Prefab in Prefab mode
4. Select the child GameObject '## HERE ##', right-click it and add a 'Text - TextMeshPro' GameObject
Expected result: Text (TMP) is created and is a child of '## HERE ##' GameObject
Actual result: Text (TMP) is created and is a child of the 'Screen' GameObject, an ArgumentException is thrown
Reproducible with: 2018.4.26f1(TMP 1.5.0 - preview.3, 1.5.1), 2019.4.6f1(TMP preview.3 - 2.1.0, 2.1.1), 2020.1.0f1, 2020.1.0a19(TMP 3.0.0. - preview.3, 3.0.1)
Not reproducible with: 2018.4.26f1(TMP 1.5.0 - preview.2), 2019.4.6f1(TMP preview.2 - 2.1.0), 2020.1.0f1, 2020.1.0a19(TMP 3.0.0 - preview.1)
Notes:
Issue does not reproduce when performing step 4 in the Hierarchy window and then applying the Prefab override
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
- Black square “shadow” artifacts visible when using Screen Space Reflections without maximum smoothing
Add comment