Search Issue Tracker
Fixed in 10.1.X
Votes
0
Found in [Package]
10.0.0-preview.27, 9.0.0-preview.54
Issue ID
1285351
Regression
No
[HDRP][Compositor] Objects of the Hierarchy are deleted with errors on undoing after adding Input filters in Basic(Built-in)scen
All objects of the Hierarchy are deleted along with MissingReferenceException on undoing after adding Input filters in Basic(Built-in) scene.
Steps to repro:
1. Create a new HDRP project.
2. File > New Scene > Select > Basic (Built-in) scene.
3. Windows > Render Pipeline > Graphics Compositor > Enable Compositor.
4. Render Schedule > Select Camera SubLayer > Add ChromaKeying Input Filter.
5. Press "CTRL + Z" 4-5 times.
Actual Result:
-All objects of the Hierarchy are deleted.
-MissingReferenceException error is thrown in the console.
Expected Result:
-No objects are deleted from the Hierarchy.
-No errors in the console.
Reproducible in:
2020.2.0b8, 2020.2.0a15 with Package Version 10.0.0-preview.27, 9.0.0-preview.54, 9.0.0-preview.33.
Note: Basic (Built-in) scene option is available from 2020.2.0a15.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stacktrace:
Camera to copy from must not be null
UnityEngine.Rendering.HighDefinition.Compositor.CompositionManager:Update ()
MissingReferenceException: The object of type 'Camera' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEngine.Component.GetComponent[T] () (at <7c72a31c6717401a8f3a6328e904d4c3>:0)
UnityEngine.Rendering.HighDefinition.Compositor.CompositorLayer.UpdateOutputCamera () (at library/packagecache/com.unity.render-pipelines.high-definition@10.0.0-preview.27/runtime/compositor/compositionlayer.cs:476)
UnityEngine.Rendering.HighDefinition.Compositor.CompositorLayer.Update () (at library/packagecache/com.unity.render-pipelines.high-definition@10.0.0-preview.27/runtime/compositor/compositionlayer.cs:488)
UnityEngine.Rendering.HighDefinition.Compositor.CompositionManager.Update () (at library/packagecache/com.unity.render-pipelines.high-definition@10.0.0-preview.27/runtime/compositor/compositionmanager.cs:509)
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
- Incorrect rotations on bones when importing FBX animations with a Humanoid Rig
- Render Graph Viewer “Pass List” section is flickering when resizing vertically and the Render Graph Viewer window is docked
- Render Graph Viewer Capture button plays the click animation but does not do anything when the Capture button is pressed with the “Enter” key on the keyboard
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
- Celestial bodies order remains unchanged when the Distance setting is modified
Resolution Note (fix version 10.1):
Fixed in Package version 10.1.0.