Search Issue Tracker
Fixed
Fixed in 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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment