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 warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
- Audio Mixer “+” buttons overlap with UI when the Audio Mixer window layout is set to Horizontal
- "Clear" button in the "Set project display name" closes all the pop-up instead of clearing just a name from the field
- Video Player renders no video on specific devices when using Vulkan
- The Editor slows itself down by showing tons of warnings when the majority of TransformAccessArrays content are NullRefs
Add comment