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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Add comment