Search Issue Tracker
Fixed
Fixed in 2022.3.62f1, 6000.0.48f1, 6000.1.1f1, 6000.2.0a10
Votes
0
Found in
2022.3.61f1
6000.0.46f1
6000.1.0b14
6000.2.0a8
Issue ID
UUM-102798
Regression
No
NullReferenceException is thrown when calling camera.Render() on SceneView Camera during EditorSceneManager.sceneSaved due to missing null check in DrawRenderer2DPass
Reproduction steps:
1. Open the attached “IN-97923.zip” project
2. Open the “SampleScene”
3. Make any changes to the Scene (e.g. add a GameObject)
4. Save the Scene
5. Observe the Console
Expected result: No exceptions are thrown
Actual result: “NullReferenceException: Object reference not set to an instance of an object” exception is thrown
Reproducible with: 2022.1.0a1, 2022.3.61f1, 6000.0.46f1, 6000.1.0b14, 6000.2.0a8
Reproduced on: Windows 11
Not reproducible on: No other environment tested
Notes:
- Only reproduces in 2D URP projects
- In Unity 6, additional errors are present in the Console:{{ "Render Graph Execution error"}}, “{{ArgumentNullException: Value cannot be null."}}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Baked Lightmap ”View” button text is aligned incorrectly
- Lightmap Asset icon changes colours after Baked Lightmap Viewer window is opened
- VideoClipImporter preset not applied when applying Preset Selector on already imported video clips
- Frame Debugger gets disabled when any Editor window is maximised and minimised
- TextMeshPro InputField view is not updated when OnEndEdit is triggered
Add comment