Skip to content
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

WebGL freeze during SDK closing #1779

Open
ziggyeye opened this issue Aug 28, 2024 · 7 comments · May be fixed by getsentry/sentry-dotnet#3619
Open

WebGL freeze during SDK closing #1779

ziggyeye opened this issue Aug 28, 2024 · 7 comments · May be fixed by getsentry/sentry-dotnet#3619
Labels

Comments

@ziggyeye
Copy link

#1761 is still happening in version 2.1.4
WebGL freeze during SDK closing

@bitsandfoxes
Copy link
Contributor

Would you be able to provide us with a minimal repro? I'd love to fix this.
It works for me with our sample, so there's something else going on.

@bitsandfoxes bitsandfoxes changed the title https://github.com/getsentry/sentry-unity/issues/1761 is not fixed in 2.1.4 WebGL freeze during SDK closing Aug 28, 2024
@bitsandfoxes bitsandfoxes added Bug Something isn't working WebGL labels Aug 28, 2024
@ziggyeye
Copy link
Author

ziggyeye commented Sep 3, 2024

That's strange. We haven't had the bandwidth to create a sample yet but it's definitely still freezing up like before.
I'd be curious if it's happening with others using the SDK.

@bitsandfoxes
Copy link
Contributor

I'll give this another try.

@ziggyeye
Copy link
Author

web.zip
UnityWebglSentryTestAssets.zip

Attached are two zips with a a sample project that replicates the issue. SentryTestAssets.zip is the Assets folder of the test project. It's just an image displayed in webgl. But the web template used has a LOAD button to load the unity app. When loaded, there will be a QUIT button to close the Unity app. Pressing QUIT you will notice the web page freezes. The console log shows "Quitting..." but it never completes.

web.zip is the built version of this project. You can run this on a localhost easily to test it.
Please expedite this issue as it is a launch blocker for us that is imminent.

@ziggyeye ziggyeye reopened this Sep 14, 2024
@bitsandfoxes
Copy link
Contributor

Thanks a lot for the repro! It's hugely appreciated!

@bitsandfoxes
Copy link
Contributor

It looks like this is still related to deadlocking during shutdown of the SDK. We'll try to minimize the repro on the .NET SDK. Hopefully, this is just the Metrics acting up.

@ziggyeye
Copy link
Author

thanks for the update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Status: Waiting for: Product Owner
Development

Successfully merging a pull request may close this issue.

2 participants