Search Issue Tracker
Fixed in 1.6.0-preview.1, 2.2.0-preview.1, 3.2.0-preview.1
Votes
0
Found in [Package]
3.0.6
Issue ID
1335854
Regression
No
TextMeshProUGUI ignores RectMask2D for a frame each time after being enabled in Play Mode if the GO was disabled before PlayMode
Reproduction steps:
1. Open attached project "Rect2D_Vs_TextMeshProUGUI.zip"
2. Open "SampleScene" scene in the "Scenes" folder
3. Locate "RMVTMP" prefab in the "prefabs" folder
4. Drag and drop the prefab on "Canvas(Drag RMVTMP Here)" GameObject in the Hierarchy
5. Select the newly created instance of "RMVTMP" and disable the GameObject through the Inspector
6. Enter Play Mode
7. Enable and disable "RMVTMP" GameObject multiple times
Expected result: The text is not visible since the RectMask2D is applied
Actual result: The text appears for a single frame (RectMask2D is ignored for the frame)
Reproducible with: 2.1.6 (2019.4.25f1), 3.0.6 (2020.3.7f1), 3.0.6 (2021.1.5f1), 3.0.6 (2021.2.0a17)
Could not test with: 2018.4 (errors)
Notes:
1. Only reproducible if the scene is not saved after adding the GameObject with TextMeshProUGUI
2. If the GameObejct added is disabled already the issue is not reproducible until the GameObject is enabled and disabled again
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 1.6.0-preview.1, 2.2.0-preview.1, 3.2.0-preview.1):
Fixed in 1.6.0-preview.1; 2.2.0-preview.1; 3.2.0-preview.1