Reproduction steps:
1. Open the attached project "CrashRepro"
2. Open “Assets/TerrainDemoScene_URP/Scenes/TerrainDemoScene.unity“ Scene
3. Set Graphics Api to OpenGLCore (Edit > Project settings… > Player)
4. Enter the Play Mode
Expected result: The Play Mode is entered
Actual result: Editor crashes
Reproducible with: 2021.3.32f1, 2022.3.14f1
Not reproducible with: 2023.1.0a1, 2023.2.1f1, 2023.3.0a15
Reproducible on: Windows 10
Not reproducible on: No other environment tested
First few lines of stack trace: