Search Issue Tracker
Fixed in 10.3.0
Votes
0
Found in [Package]
10.2.2
Issue ID
1300167
Regression
No
[HDRP] NullReferenceException is constantly thrown with C# 8.0 and Nullable enabled
How to reproduce:
1. Open the attached project ("cs8.zip")
2. Upgrade the compiler to C# 8 and set Nullable to enabled
Expected results: Everything works properly
Acutal results: NullReferenceException is constantly thrown in UnityEngine.Rendering.HighDefinition.MaterialDebugSettings.FillWithProperties
Reproducible with: 2020.1.17f1, 2020.2.1f1(HDRP 8.3.1 - 10.2.2)
Could not test with: 2018.4.30f1, 2021.1.0a10, 2021.2.0a1 (No HDRP available, 3rd-party package used to change C# compiler not compatible with Unity 2021)
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 when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Resolution Note (fix version 10.3.0):
Fixed in: HDRP 10.3.1 which is available in 2020.2.3f1 and newer