Reproduction steps:
1. Open the attached “BugRepro” project
2. Close the Editor
3. Open RenderDoc
4. In the Executable Path field, enter the path to the Unity Editor executable
5. In the Command-line Arguments field, enter -projectPath "/path/to/project/"
6. Click Launch
7. In the Game View top bar, click the camera icon to capture the current view
8. Back in RenderDoc, double-click the capture
9. Observe the Event Browser
Expected results: There are no draw calls shown in the RenderDoc Event List
Actual results: Scene draw calls are shown in the RenderDoc Event List
Reproduced with: 2023.2.0b8, 2023.2.3f1, 2023.3.0a17
Not reproduced with: 2021.3.33f1, 2022.3.15f1, 2023.2.0b7
Reproduced on: Ubuntu 23.10, Ubuntu 20.04
Not reproduced on: Windows 10 Pro 21H2