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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 10.1):
Fixed in Package version 10.1.0.