Search Issue Tracker
Duplicate
Votes
0
Found in
4.5.0f6
Issue ID
621474
Regression
No
Default C# values don't get initialized via Object Initializer
To reproduce:
1. Open the attached project
2. Play the 'Main Scene' scene and go to console tab
3. Notice that Case 3 outputs '(True, 1, 0.5, red)' instead of '(False, 0, 0, <null>)', even though it is written in the code that it should change this value
Note:
Default values don't get initialized via Object Initializer
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
- [Asset Bundle] AudioSource output field not staying connected correctly when loaded from Asset Bundle
- [Android] Duolashock4 controller is not detected after disconnecting and reconnecting controller while the Player is running in the background
- Creating an empty project throws 2 errors in the Console when created using a macOS M1 Virtual Machine
- Editor loads exponentially longer when switching to a Shader Graph tab with a large amount of nodes after clicking the Save Asset button in a Sub Graph
- ShaderGUI.ValidateMaterial is called inconsistently
This is a duplicate of issue #592094