Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
18
Found in
2020.2.2f1
2020.2.3f1
2021.1.0b4
2021.2
Issue ID
1316226
Regression
Yes
Cannot expand a private list of variables when using the Debug Inspector mode
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
Notes:
1. MyFile MyList field in inspector can not be expanded to inspect content in Normal mode as well
-
Jakintosh
Mar 12, 2021 20:05
Also seeing this, currently in 2020.2.3f1. Super annoying, makes debugging very difficult.
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
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
- "Unable to get the list of approved APIs." is thrown when testing the App Packages with Windows App Certification Kit
Resolution Note (fix version 2021.2):
Fixed in: 2022.1.0a2
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b6
Resolution Note (fix version 2021.1):
Fixed in 2021.1.17f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.16f1