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
Comments (11)
-
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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