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
- Changing "PreWarm" parameters on VFX Graph leads to significant performance drops and freeze
- Player display resolution changes to the native resolution of the monitor when Player becomes unresponsive
- [Quest] Game View is no longer rendered in the HMD if it's hidden in the Editor when using Meta Link
- Unity auto-generates code it can't compile when classes are renamed
- Terrain's "Grass Tint" Color picker has Alpha 0 by default
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