Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X, 2021.1.X



Found in





Issue ID




Cannot expand a private list of variables when using the Debug Inspector mode

Inspector Framework


How to reproduce:
1. Open the attached project
2. Open SampleScene
3. Select GameObject in the Scene Hierarchy
4. Switch inspector to Debug mode (click the dots on the top right corner of the Inspector > select Debug)
5. Observe MyScript has a private list My Private List of ints
6. Try clicking the arrow to expand the list
7. Select MyFile in Project assets
8. Observe MyFile has a list MyList
9. Try clicking the arrow to expand the list

Expected result: You can expand the list to monitor the list values
Actual result: You cannot expand the list

Reproducible with: 2020.2.2f1, 2020.2.5f1, 2021.1.0b4, 2021.1.0b8, 2021.2.0a6
Not reproducible with: 2018.4.30f1, 2019.4.21f1, 2020.2.1f1, 2021.1.0a1, 2021.1.0b3

Workaround: Use [SerializeField] to display values in Normal Inspector mode, but this will allow modifying the values

1. MyFile MyList field in inspector can not be expanded to inspect content in Normal mode as well

  1. Resolution Note (fix version 2021.2):

    Fixed in: 2022.1.0a2

  2. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b6

  3. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.17f1

  4. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.16f1

Comments (12)

  1. Jakintosh

    Mar 12, 2021 20:15

    And to add, just updated to 2020.3.0f1 and it is still a problem there as well.

  2. Jakintosh

    Mar 12, 2021 20:05

    Also seeing this, currently in 2020.2.3f1. Super annoying, makes debugging very difficult.

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.