Search Issue Tracker
Duplicate
Votes
0
Found in
2018.4
2019.4
2020.2.7f1
2020.3
2021.1
2021.2
Issue ID
1319654
Regression
No
Color defaults in System.Serializable class objects are ignored when adding elements in the Inspector and using arrays or lists
How to reproduce:
1. Open the attached project's "case_1319654-Project.zip" Scene labeled "SampleScene"
2. In Hierarchy, select the "GameObject"
3. In Inspector, under the "Test Class Object Array", add a new element
4. Inspect the added element's color value
Expected result: Default color value is applied to the added element
Actual result: Empty/clear color value is applied to the added element
Reproducible with: 2018.4.32f1, 2019.4.22f1, 2020.3.0f1, 2021.1.0b11, 2021.2.0a8
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
- [Android][Mobile Notifications] The Player freezes or crashes when calling "AndroidNotificationCenter.GetNotificationChannel" every frame
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
This is a duplicate of issue #442732