Search Issue Tracker
Fixed
Votes
0
Found in
2020.1.0a23
2020.2
2020.2.0a14
Issue ID
1254383
Regression
No
[HDRP] AssertionException is thrown on resetting Camera component Render Pipeline Asset is set to none
Resetting Camera component causes the editor to throw AssertionException when Render Pipeline Asset is set to none in the Graphics Settings, refer the attached video.
Steps to repro:
1. Create a new project
2. Windows > Package Manager > High Definition RP > Install
3. Hierarchy > Create > Camera
4. Hierarchy > Camera > Inspector > reset Camera component
Actual Result:
AssertionException is thrown on resetting Camera component
Expected Result:
"Planer Reflection Probe" component is reset without any errors.
Reproducible in:
2020.2.0a14, 2020.1.b12, 2020.1.0a23 with Package Version 9.0.0, 8.1.0. 8.0.1.
Environment:
Windows 10 & macOS 10.14
Stack Trace:
AssertionException: Assertion failure. Value was Null
Expected: Value was not Null
UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at <c5608a5591d94e67ac22bdd9105f36aa>:0)
UnityEngine.Assertions.Assert.IsNotNull (UnityEngine.Object value, System.String message) (at <c5608a5591d94e67ac22bdd9105f36aa>:0)
UnityEngine.Assertions.Assert.IsNotNull[T] (T value, System.String message) (at <c5608a5591d94e67ac22bdd9105f36aa>:0)
UnityEngine.Assertions.Assert.IsNotNull[T] (T value) (at <c5608a5591d94e67ac22bdd9105f36aa>:0)
UnityEditor.Rendering.HighDefinition.HDCameraContextualMenu.ResetCamera (UnityEditor.MenuCommand menuCommand) (at library/packagecache/com.unity.render-pipelines.high-definition@9.0.0-preview.13/editor/renderpipeline/camera/hdcameraeditor.cs:100)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment