Search Issue Tracker
Duplicate
Votes
0
Found in
2018.1.6f1
Issue ID
1078503
Regression
No
New elements are not initialized with predefined values when adding an element to the Serializable List or Array
How to reproduce:
1. Open the attached "TestFor1078503.zip" project's SampleScene
2. Select TestObject from the Hierarchy
3. In the Inspector window under the Test Component increase the List Size to any number
4. Notice that the List elements got initialized with default C# values
Expected result: Serializable List elements are initialized with predefined values
Actual result: Serializable List elements are initialized with default C# values
Reproducible with: 2017.2.3p4, 2017.4.11f1, 2018.2.8f1, 2018.3.0b1
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] Error "Blitter is already initialized" is present when Adaptive Probe Volumes are used with OpenGLES3
- VFX Graph effect instance stops rendering when a second instance of the same effect starts 2 frames later
- Operations on the Color32 array are not reflected in WebGL Player when HDR is off
- Rigidbody moves away from the original GameObject when Center of Mass is set in every frame
- WebGL Player does not proceed beyond logo screen when "Target WebAssembly 2023" is enabled
This is a duplicate of issue #442732