Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
1
Found in
2021.2.0a18
2021.2.1f1
2022.1
Issue ID
1377750
Regression
Yes
Player crash on System.Net.Http.HttpClient when awaiting network response
How to reproduce:
1. Open the attached project from "BugRepro.zip"
2. Disable your internet connection
3. Navigate to "File" -> "Build Settings..." -> "Build And Run"
4. Observe the crash after the build is successful
Reproducible with: 2021.2.0a18, 2022.1.0a15
Not reproducible with: 2019.4.32f1, 2020.3.23f1, 2021.1.28f1, 2021.2.0a17
First lines of the stack trace:
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <00000000000000000000000000000000>:0
at System.Net.Http.HttpClient+<SendAsyncWorker>d__47.MoveNext () [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.ParameterizedThreadStart.Invoke (System.Object obj) [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
- Mouse and Pointer Events are called incorrectly in ScrollView with XRUIInputModule
- Memory leak occurs when repeatedly minimizing and maximizing the UI Builder window
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b1
No longer crashes
Resolution Note (fix version 2021.2):
Fixed in 2021.2.6f1