Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2020.2.0a8
2021.1
2021.2
2021.2.0a1
Issue ID
1306190
Regression
Yes
[UIElements] Context menu doesn't appear after right-clicking on UI Toolkit's Serializable object header
How to reproduce:
1. Open the user's attached to project "UIToolkit-PropertyField-RightClick.zip"
2. Select "GameObject" Prefab in the Project window
3. In the Inspector window find the "Monobehaviour IMGUI (Script)" component
4. Right-click on the "That Struct" header and notice that the context menu appeared
5. In the Inspector window find the "Monobehaviour UI Toolkit (Script)" component
6. Try right-click on the "That Struct" header
Expected result: The context menu appears and it behaves the same as IMGUI's context menu
Actual result: The context menu doesn't appear and its behave differs from IMGUI
Reproducible with: 2020.2.0a8 (built-in UI Toolkit), 2020.2.2f1 (built-in UI Toolkit, UI Toolkit 1.0.0-preview.13), 2021.1.0b4, 2021.2.0a3 (built-in UI Toolkit)
Not reproducible with: 2019.4.18f1, 2020.2.0a7 (built-in UI Toolkit)
Could not test with: 2018.4.31f1 (built-in UI Toolkit), 2020.2.0a7, 2020.2.0a8, 2021.1.0b3, 2021.2.0a2 (UI Toolkit 1.0.0-preview.13) (due to errors)
Notes:
- Up to 2020.2.0a7 version, built-in UI Toolkit's Serializable object's header behaves the same as IMGUI's Serializable object's header. Context menu doesn't appear after right-clicking on UI Toolkit's and IMGUI's Serializable object header
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 2021.2):
Fixed in 2022.1.0a8