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
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
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