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
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- 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
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