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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
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