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
- Shader Graph Swizzle Node Input/Output and Mask Update Incorrectly After Undo
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
Add comment