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
- 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