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
- TextShadow properties are not applied when displayed in a custom MenuItem Window
- Memory leak occurs when focused on Player while using Direct3D12
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
Add comment