How to reproduce:
1. Open the “urp_crash“ project
2. Open the “SampleScene“
3. In the Hierarchy window’s search bar enter a random string
Expected result: The editor continues to run
Actual result: Editor crashes
Reproducible with: 2022.3.22f1, 2023.2.16f1, 6000.0.0b13
Could not test with: 2021.3.36f1 (error)
Reproducible on: Windows 10, Windows 11 (user’s device)
Not reproducible on: No other environment tested
Note: Only reproducible with 2D URP
First few lines of the Stack Trace:
0x00007ff638ff2787 (Unity) Camera::ReleaseCameraStackRenderingState
0x00007ff638ff1569 (Unity) Camera::FinishRenderingEditorCamera
0x00007ff636d2d55c (Unity) Handles_CUSTOM_Internal_FinishDrawingCamera
0x0000022246adb595 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.Handles:Internal_FinishDrawingCamera (UnityEngine.Camera,bool)
0x0000022246a0b16b (Mono JIT Code) UnityEditor.Handles:DrawCameraImpl