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
- [URP] Exceeding the platform's supported light limit gives shadow distortion when using Deferred Rendering Path
- URP Sample Buffer Image Tile is moved when the Offset Value is changed
- Static constructor in a struct returns false when running tests with IL2CPP
- Console throws warnings and a MissingReferenceException error for XR packages when doing a clean project import
- [Linux][IL2CPP] Dedicated server crashes when calling Socket.Send
Resolution Note (fix version 2021.2):
Fixed in 2022.1.0a8