-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I just updated to 2.2.0 and now I'm see this error on launch in Unity Editor WebGL platform. #1843
Comments
Looks like the same problem reported here |
cc @jamescrosswell did we change something in the core Sentry package that could cause this? |
The diff in Unity is here: 2.1.4...2.2.0 Bit it's most likely caused by some change in the .NET SDK, possible either: Or Confirming that WebGL is in the
So it should have file I/O enabled |
OK so @jamescrosswell figured out: He fixed this problem in this PR: We bumped it in this repo. but that fix wasn't included in the last release.. It has been sitting on It'll be version 2.2.1 |
The released |
Sentry: (Error) Failed to persist session on the file system. System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Stream has been closed'.
at System.IO.FileStream.Flush () [0x0000d] in :0
at System.Text.Json.Utf8JsonWriter.Flush () [0x00094] in <106b5ea9b1fa4ad5922e9fb9e8765bf0>:0
at System.Text.Json.Utf8JsonWriter.Dispose () [0x00011] in <106b5ea9b1fa4ad5922e9fb9e8765bf0>:0
at Sentry.GlobalSessionManager.PersistSession (Sentry.SessionUpdate update, System.Nullable`1[T] pauseTimestamp) [0x0011b] in /sentry-unity/src/sentry-dotnet/src/Sentry/GlobalSessionManager.cs:91
The text was updated successfully, but these errors were encountered: