Search Issue Tracker
Fixed in 10.2.X
Votes
0
Found in [Package]
10.1.0.
Issue ID
1286936
Regression
Yes
[HDRP] [Compositor] NullReferenceException errors are thrown continuously on enabling Compositor in Basic(Built-in) scene
-Unable to use Compositor in Basic (Built-in) scene, the game view does not render anything.
-NullReferenceException errors are thrown continuously on enabling Compositor.
Steps to repro:
1. Create a new HDRP project.
2. File > New Scene > Basic(Built-in) > Create.
3. Windows > Render Pipeline > Graphics Compositor.
4. Enable Compositor checkbox.
Actual Result:
NullReferenceExceptions are thrown in the console.
Expected Result:
No errors in the console.
Reproducible in:
2020.2.0b9, 2020.2.0b8 with Package version 10.1.0.
Working Fine in:
2020.2.0b9, 2020.2.0b8 with Package version 10.0.0-preview.27.
Note: Package Version 10.1.0 is not available in 2021.1.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Rendering.HighDefinition.Compositor.CompositorLayer.SetupLayerCamera (UnityEngine.Rendering.HighDefinition.Compositor.CompositorLayer targetLayer, System.Int32 layerPositionInStack) (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/runtime/compositor/compositionlayer.cs:659)
UnityEngine.Rendering.HighDefinition.Compositor.CompositionManager.SetLayerRenderTargets () (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/runtime/compositor/compositionmanager.cs:666)
UnityEngine.Rendering.HighDefinition.Compositor.CompositionManager.SetupCompositorLayers () (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/runtime/compositor/compositionmanager.cs:388)
UnityEngine.Rendering.HighDefinition.Compositor.CompositionManager.Init () (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/runtime/compositor/compositionmanager.cs:312)
UnityEngine.Rendering.HighDefinition.Compositor.CompositionManager.Start () (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/runtime/compositor/compositionmanager.cs:330)
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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Resolution Note (fix version 10.2):
Fixed in Package version 10.2.0.
Resolution Note (fix version 10.2):
Fixed in Package version 10.2.0.