Search Issue Tracker
In Progress
Fix In Review for 6000.0.X
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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment