Search Issue Tracker
Won't Fix
Votes
1
Found in
2019.3.0a7
2019.3.0f5
2020.1
Issue ID
1214101
Regression
Yes
Empty List Elements appear in the Inspector when using Custom Editor Fields with SerializeField attribute
How to reproduce:
1. Open the attached project's "case_1214101-Project.zip" Scene labeled "SampleScene"
2. Select the "Test" GameObject in the Hierarchy
3. Under "BoneC3dBone" Component click on "Bone Attribute" to expand the list
Expected result: Only one Element appears
Actual result: Size field and number of Elements equal to the Array size appears
Reproducible with: 2019.3.0a7, 2019.3.0f6, 2020.1.0a22
Not reproducible with: 2017.4.36f1, 2018.4.17f1, 2019.2.20f1, 2019.3.0a6
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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Resolution Note:
The user's script does nothing when the transform reference is null so all 500 objects are not rendered in BoneC3dBone.DrawAttributeList