You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No error should occur and User Feedback is uploaded correctly
Actual Result
Sentry: (Error) Failed to serialize Envelope into the network stream System.ObjectDisposedException: Cannot access a closed Stream.
at System.IO.Stream.CopyToAsync (System.IO.Stream destination, System.Int32 bufferSize, System.Threading.CancellationToken cancellationToken) [0x00042] in <695d1cc93cca45069c528c15c9fdd749>:0
at PolyfillExtensions.CopyToAsync (System.IO.Stream stream, System.IO.Stream destination, System.Threading.CancellationToken cancellationToken) [0x00000] in <78b315d5ba0b4961ac680d18161ef295>:0
at Sentry.Protocol.Envelopes.StreamSerializable+<SerializeAsync>d__4.MoveNext () [0x00017] in <78b315d5ba0b4961ac680d18161ef295>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at Sentry.Protocol.Envelopes.EnvelopeItem+<SerializeAsync>d__21.MoveNext () [0x001a1] in <78b315d5ba0b4961ac680d18161ef295>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at Sentry.Protocol.Envelopes.Envelope+<SerializeAsync>d__10.MoveNext () [0x001a6] in <78b315d5ba0b4961ac680d18161ef295>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at Sentry.Internal.Http.EnvelopeHttpContent+<SerializeToStreamAsync>d__3.MoveNext () [0x00089] in <78b315d5ba0b4961ac680d18161ef295>:0
UnityEngine.Debug:LogError (object)
Sentry.Unity.UnityLogger:Log (Sentry.SentryLevel,string,System.Exception,object[]) (at /Users/runner/work/sentry-unity/sentry-unity/src/Sentry.Unity/UnityLogger.cs:47)
Sentry.Extensibility.DiagnosticLoggerExtensions:LogIfEnabled (Sentry.Extensibility.IDiagnosticLogger,Sentry.SentryLevel,System.Exception,string)
Sentry.Extensibility.DiagnosticLoggerExtensions:LogError (Sentry.Extensibility.IDiagnosticLogger,string,System.Exception)
Sentry.Internal.Http.EnvelopeHttpContent/<SerializeToStreamAsync>d__3:MoveNext ()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start<Sentry.Internal.Http.EnvelopeHttpContent/<SerializeToStreamAsync>d__3> (Sentry.Internal.Http.EnvelopeHttpContent/<SerializeToStreamAsync>d__3&)
Sentry.Internal.Http.EnvelopeHttpContent:SerializeToStreamAsync (System.IO.Stream,System.Net.TransportContext)
System.Net.Http.DelegatingHandler:SendAsync (System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)
Sentry.Internal.Http.RetryAfterHandler:<>n__0 (System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)
Sentry.Internal.Http.RetryAfterHandler/<SendAsync>d__7:MoveNext ()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Net.Http.HttpResponseMessage>:Start<Sentry.Internal.Http.RetryAfterHandler/<SendAsync>d__7> (Sentry.Internal.Http.RetryAfterHandler/<SendAsync>d__7&)
Sentry.Internal.Http.RetryAfterHandler:SendAsync (System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)
System.Net.Http.HttpClient:SendAsync (System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)
Sentry.Internal.Http.HttpTransport/<SendEnvelopeAsync>d__13:MoveNext ()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start<Sentry.Internal.Http.HttpTransport/<SendEnvelopeAsync>d__13> (Sentry.Internal.Http.HttpTransport/<SendEnvelopeAsync>d__13&)
Sentry.Internal.Http.HttpTransport:SendEnvelopeAsync (Sentry.Protocol.Envelopes.Envelope,System.Threading.CancellationToken)
Sentry.Internal.Http.CachingTransport/<InnerProcessCacheAsync>d__15:MoveNext ()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Sentry.Protocol.Envelopes.Envelope>:SetResult (Sentry.Protocol.Envelopes.Envelope)
Sentry.Internal.Http.CachingTransport/<ReadEnvelope>d__17:MoveNext ()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Sentry.Protocol.Envelopes.Envelope>:SetResult (Sentry.Protocol.Envelopes.Envelope)
Sentry.Protocol.Envelopes.Envelope/<DeserializeAsync>d__20:MoveNext ()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Sentry.Protocol.Envelopes.EnvelopeItem>:SetResult (Sentry.Protocol.Envelopes.EnvelopeItem)
Any logs or screenshots
The text was updated successfully, but these errors were encountered:
Environment
How do you use Sentry?
Sentry SaaS (sentry.io)
Which version of the SDK?
0.10.0 (issue does not exist in 0.9.4)
Which version of Unity?
2020.3.18f1
Is this happening in Unity (editor) or on a player like Android, iOS, Windows?
Mac editor, did not bother testing others
Steps to Reproduce
Expected Result
No error should occur and User Feedback is uploaded correctly
Actual Result
Any logs or screenshots
The text was updated successfully, but these errors were encountered: