Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.1.0a2
2021.1.0b12
2021.2
Issue ID
1323265
Regression
Yes
LayerMask ignores custom tooltips and labels in the Inspector when using the [Tooltip] attribute or GUIContent
How to reproduce:
1. Open the user's attached project
2. Open the 'LayerMaskBug' Scene
3. In the Hierarchy select the 'LayerMask Test'
4. Observe the label of the second property of the Layer Mask Test component
5. Hover with the mouse cursor over the label of the second property
Expected result: The label of the second property is 'This Label does not work!' and the tooltip is 'This Tooltip does not work either!'
Actual result: The label of the second property is 'Wrapped', the property has the default tooltip
Reproducible with: 2021.1.0a2, 2021.1.0f1, 2021.2.0a2
Not reproducible with: 2018.4.33f1, 2019.4.23f1, 2020.3.2f1, 2021.1.0a1, 2021.2.0a3
Notes:
- The issue is reproducible with both Tooltip and the tooltip that is set with GUIContent
- The issue is reproducible with labels set with GUIContent
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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Group Selection title text size is smaller in renaming than the actual font size
- Rich Text is not correctly highlighted when searching through Debug Logs in the Console window
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a3