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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info 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