Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2021.2.X, 2022.1.X

Votes

0

Found in

2019.4

2020.3

2021.1

2021.2

2021.2.0b7

2022.1

Issue ID

1360138

Regression

No

ContextMenuItem is not working with List collections when right clicking the values in the Inspector window

IMGUI

-

How to reproduce:
1. Open the user's attached project
2. Open scene Scene
3. Select the GameObject "SomeObject" in the Hierarchy view
4. In the Inspector window, mouse over "Value" under Some Script and right-click the title
5. Note the "Randomize" option in the context menu that appears
6. Mouse over the "List" title and right-click
7. Mouse over the "List 2" title and right-click

Expected result: "Randomize List" option appears for both List context menus
Actual result: no custom context menu item appears for either List

Reproducible with: 2019.4.30f1, 2020.3.17f1, 2021.1.18f1, 2021.2.0b9, 2022.1.0a6

Notes: the option appears when right-clicking List elements

  1. Resolution Note (fix version 2021.1):

    Fixed in 2022.2.0a2

  2. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0b10

  3. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.14f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.