How to reproduce:
1. Open the user’s attached “UIToolkitExploration.zip” project
2. In the Project window, select “New So 3.asset” (Assets > New So 3)
3. In the Inspector window, move the cursor on “Some Data” text and right click
4. Observe the result
Expected result: Context menu opened
Actual result: Context menu not opened
Reproducible with: 2020.3.45f1, 2021.1.0b2, 2023.2.0a6, 2023.2.0a7
Not reproducible with: 2021.1.0b3, 2021.1.28f1, 2021.3.21f1, 2022.2.12f1, 2023.1.0b9, 2023.2.0a5
Reproduced on: macOS 13.2.1 (Intel)
Notes:
The issue is not reproducible if deleting comments in the 3rd line of the “So3Editor” script. That line enables the Custom Editor, then the UI switch to IMGUI
In 2020.3.0f1-2021.1.0b2 editor versions the context menu is not opening with and without the comment