Search Issue Tracker

Fixed

Fixed in 2022.3.10f1, 2023.1.14f1, 2023.2.0b10, 2023.3.0a6

Votes

0

Found in

2021.3.29f1

2022.3.7f1

2023.1.8f1

2023.2.0b4

2023.3.0a4

Issue ID

UUM-45664

Regression

No

The "Add Renderer Feature" button throws a NullReferenceException when there is a "Missing RendererFeature" component in the Inspector due to a deleted RendererFeature script

--

-

Reproduction steps:
1. Open the attached “IN-50236 URP Rendering feature.zip“ project
2. Select the “Test URP Asset_Renderer.asset” in the “Assets” folder
3. In the Inspector, try pressing the "Add Renderer Feature" button under the “Missing RendererFeature” component

Expected result: A menu with a list of available RendererFeatures appears
Actual result: No menu appears and the Console logs a “NullReferenceException: Object reference not set to an instance of an object”

Reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.8f1, 2023.2.0b4

Reproduced on: Windows 11 Pro

Notes:
- “Attempt Fix” button in the “Missing RendererFeature” component just logs a “Test URP Asset_Renderer is missing RendererFeatures” error
- After removing the “Missing RendererFeature” component, the “Add Renderer Feature” button functions as intended
- Reproducible in a new project

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.