Search Issue Tracker
Fixed in 2020.2.X
Votes
1
Found in
2019.4
2020.1.2f1
2020.2
Issue ID
1273848
Regression
No
Drawing serialized properties with HideInInspector attribute only works for some variable types
How to reproduce:
1. Open the user's attached "Rechnik.zip"
2. Open the "testscene" Scene
3. Select the "Main Camera" GameObject in the Hierarchy window
4. Observe the "Test (Script)" Component's "Invisible Person Value" property in the Inspector
Expected result: The "Invisible Person Value" property (which is a class) has name and age fields shown in the Inspector
Actual result: The "Invisible Person Value" property has no fields, only the label is visible in the Inspector
Reproducible with: 2019.4.9f1, 2020.1.4f1, 2020.2.0b1
Could not test with: 2018.4.27f1 ("Test (Script)" Component is not visible in the Inspector)
Notes:
- This issue is also reproducible with arrays, structs, and Lists
- The issue is not reproducible with simple variables types (string, int, float, double) and enum
Comments (1)
-
Paul_John_Jeffs
Dec 13, 2022 15:34
This is still an issue on 2022.1.20f1
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
- Render Graph Viewer is not displaying Imported Resources when it’s the only selected item in Resource Filter selection
- The TextMeshPro input field gets cleared when characters are entered using a Japanese keyboard layout and a suggestion is selected from the composition string window
- Render Graph Viewer window cannot be scrolled when mouse is hovering over the resources or passes
- [Android] A light cookie is not rendered when the Render Texture attached to it has Anti-aliasing set to enabled
- Canceling UI Document closure opens a UXML file in code Editor when opening the UI Document which is already opened in UI Builder
Resolution Note (fix version 2020.2):
Fixed in: 2021.1.0a1