How to reproduce:
1. Open the "IN_53417" project
2. In Build Settings "Run Device" dropdown select the desired device
3. Press Build And Run
Expected result: project build is successful
Actual result: editor crashes
Reproducible with: 2021.3.30f1
Couldn't test with: 2022.3.9f1, 2023.1.13f1, 2023.2.0b9, 2023.3.0a4 (due to build failing with an error "error CS0103: The name 'NetworkTransport' does not exist in the current context")
Reproducible on: Windows 10 Pro, Windows 11 (user reported)
Not reproducible on: No other environment tested
Notes:
- This issue reproduces on newer versions only if it's first opened on the 2021.3.19f1 (user reported) version
- Couldn't test without Development Build enabled due to errors appearing while building if Development Build is disabled
- Only reproducible when pressing “Build And Run” (Pressing only “Build” won't reproduce the issue)
- Device needed only to be able to use “Build And Run”
Workaround: Disable Development Build → Try building the project → Enable Development Mode