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
- "Shader warning in 'Hidden/HDRP/DownsampleDepth'" warnings are thrown after building a project
- Scene is not rendered and appears black when the Custom Renderer Feature is utilized
- [ShortcutManager] The Context Menu is not updated in the Shortcuts menu when resolving a Binding Conflict
- [Quest] Foveation Level is 0 when SRP Foveation is enabled
- Freeze when displaying text with "-T" in Play mode
Add comment