Reproduction steps:
1. Open the attached “repro-project“
2. Enter Play Mode and wait for web requests to be disposed
3. Observe the crash
Reproducible with: 2021.3.10f1, 2021.3.17f1, 2022.2.0a10, 2022.2.1f1, 2023.1.0a1, 2023.1.0a22
Not reproducible with: 2021.3.9f1, 2021.3.19f1, 2022.2.0a9, 2022.2.8f1, 2023.1.0b6, 2023.2.0a4
Fixed in: 2021.3.18f1, 2022.2.2f1, 2023.1.0a23
Could not test with: 2020.3.45f1 - due to errors when downgrading the project
Reproduced on: Windows 10 Pro, macOS 13.2.1 (Intel)
Note: Also reproduced in Player
First few lines of the stack trace:
{{0x00007ff727667bcd (Unity) delete_object_internal_step1 }}
{{0x00007ff727663df0 (Unity) DestroySingleObject }}
{{0x00007ff7279972ba (Unity) DestroyObjectHighLevel_Internal }}
{{0x00007ff727996e24 (Unity) DestroyObjectHighLevel }}
0x00007ff72794d80a (Unity) BackgroundJobQueue::ExecuteMainThreadJobs