Search Issue Tracker
Fixed
Fixed in 6000.0.X, 6000.0.26f1, 6000.1.0a1, 7000.0.0a9
Votes
0
Found in
6000.0.19f1
Issue ID
UUM-79997
Regression
Yes
A "NullReferenceException" error is thrown when trying to Add Tags and Layers when URP settings are present in the project with a broken UniversalRP Asset
How to reproduce:
1. Open the “TDS.zip“ project
2. Open the “GameScene“ Scene
3. Select any one GameObject in the Hierarchy
4. Click on a “Tag” dropdown / “Layer” dropdown
5. Click on “Add Tag…“ / “Add Layer…“
6. Observe the Console
Alternatively:
1. Open the “TDS.zip“ project
2. Open the “GameScene“ Scene
3. Open the “Project Settings”
4. Select the “Tags And Layers“ section in the Project Settings
5. Observe the Console
Expected results: The Console is clear
Actual results: A “NullReferenceException“ error is displayed in the Console
Reproducible in: 2023.3.0b3, 6000.0.19f1
Not reproducible in: 2021.3.43f1, 2022.3.46f1, 2023.3.0b2
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- This is reproducible on the attached project only
- The start of the error reads:
” NullReferenceException: Object reference not set to an instance of an object
at UnityEditor.Rendering.RenderPipelineEditorUtility.GetMaxRenderingLayersFromSettings () [0x00029] in <43e76eb92538417eb982ad34fee8a720>:0 <…>”
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment