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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 10.1):
Fixed in Package version 10.1.0.