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
- Crash on PluginManager::RefreshPlugins when closing the Editor without making any changes with JetBrains Rider selected as the External Code Editor and Google Mobile Ads third-party plugin imported
- GetMainLight() returns incorrect distanceAttenuation value for a Custom Shader when URP Forward+ Rendering Path is used
- Standalone Profiler crash on GuidReservations::Reserve when it is opened on a specific project
- m_RenderPipelineGlobalSettingsMap or m_SRPDefaultSettings is pointing to UnityEngine.Rendering.HighDefinition.HDRenderPipeline when High Definition RP package is removed
- Rendering Debugger fields have no padding at the bottom of the fields list
This is a duplicate of issue #592094