Reproduction steps:
1. Open the attached project “CrashRepro“
2. Open “Scenes/SampleScene.unity“ Scene
3. Enter play mode and wait for a few seconds
Expected result: Textures are loaded with UnityWebRequest
Actual result: Editor crashes
Reproducible with: 2021.3.10f1, 2021.3.16f1, 2022.1.15f1, 2022.1.24f1,
Not reproducible with: 2020.3.43f1, 2021.3.9f1, 2022.1.0a1, 2022.1.14f1, 2022.2.0a1, 2022.2.2f1, 2023.1.0a24, 2023.2.0a3
Reproducible on: Windows 10 22H2
Note: Select “Grid” GameObject under “Canvas” GameObject, Create And Destroy Textures (Script) Component property “Use Web Request“ needs to be checked on.
First lines of the Stack trace: