Search Issue Tracker

In Progress

Fixed in 2022.3.9f1, 2023.2.0b8, 2023.3.0a4

Fix In Review for 2021.3.31f1



Found in





Issue ID




[URP] Settings of Components in the Inspector windows disappears when deleting a child Camera of the Main Camera



How to reproduce:
1. Open the user’s attached “” project
2. Expand “Main Camera” GameObject
3. Select “Camera” GameObject and delete it
4. Select “Main Camera” GameObject and observe the Inspector window

Expected result: Components in the Inspector window are fully visible
Actual result: Components in the Inspector window are not fully visible, and errors “ArgumentException: Object at index 0 is null” and “NullReferenceException: Object reference not set to an instance of an object” appears

Reproducible with: 12.0.0 (2021.2.0a17), 12.1.11 (2021.3.25f1), 14.0.7 (2022.2.19f1), 15.0.5 (2023.1.0b16), 16.0.1 (2023.2.0a14)
Not reproducible with: 10.10.1 (2020.3.48f1), 12.0.0 (2021.2.0a16)

Reproduced on: macOS 13.2.1 (Intel)

Reproducible with both Camera Render Types “Base” and “Overlay”
Reproducible just in URP projects
Not reproducible with “Debug” Inspector

  1. Resolution Note (fix version 2023.3.0a4):

    Fixed in: 2023.3.0a4

  2. Resolution Note (fix version 2023.2.0b8):

    Fixed in: 2023.2.0b8

  3. Resolution Note (fix version 2022.3.9f1):

    Fixed in: 2022.3.9f1

  4. Resolution Note (fix version 2021.3.31f1):

    Added null check on overlay camera's inspector

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.