Search Issue Tracker
Fixed in 3.0.0-preview.12
Fixed in 1.5.0-preview.12, 2.1.0-preview.12
Votes
0
Found in [Package]
3.0.0-preview.11
Issue ID
1240784
Regression
No
TMPro SubMeshUI blocks raycasts when enabling a disabled canvas in play mode / runtime
How to reproduce:
1. Open attached project "Bug Repro.zip" and scene "Test"
2. Enter Play mode
3. In Hierarchy, select "Enable this canvas component at runtime" object
4. In Inspector enable "Canvas" component
5. In Hierarchy, select "Broken Text With styles"
6. In Inspector, set RectTransform -> PosZ to -5
7. In Inspector, observe "Text - With Stylesheet" -> "Extra Settings" -> "Raycast Target is disabled"
8. In Game View, click on the white button on top
Expected result: the button is clicked
Actual result: the button is not clicked (because Raycast Target is actually enabled but synced in a wrong way)
Reproducible with: 2018.4.22f1 (1.5.0-preview.11), 2019.3.12f1 (2.1.0-preview.1, 2.1.0-preview.11), 2020.1.0b8, 2020.2.0a9 (3.0.0-preview.11)
Could not test with: 2017.4 (errors in the Console window)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 3.0.0-preview.12):
Verified in:
Version: 2020.1.0b10
Package: TextMeshPro 3.0.0-preview.12
Resolution Note (fix version 2.1.0-preview.12):
Verified in:
Version 2019.3.14f1
Package: TextMeshPro 2.1.0-preview.12
Resolution Note (fix version 1.5.0-preview.12):
Verified in:
Version 2018.4.23f1
Package: TextMeshPro 1.5.0-preview.12