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

🐛 Fix WebGL web request #23

Merged
merged 4 commits into from
Jan 23, 2023
Merged

🐛 Fix WebGL web request #23

merged 4 commits into from
Jan 23, 2023

Conversation

GabrielePicco
Copy link
Contributor

@GabrielePicco GabrielePicco commented Jan 22, 2023

Fix Cross Http for WebGL. Larger downloads and some concurrent requests were failing.

Status Type ⚠️ Core Change Issue
Ready Hotfix No -

Problem

Swap quotes and token images download weren't working on WebGL due to it being single thread and some issues with UnityWebRequest: running a request while another is in progress result in an infinite loop with the current Unity version.

Solution

When running in WebGL web request are sent serially.

@GabrielePicco GabrielePicco merged commit 048d0fd into master Jan 23, 2023
@GabrielePicco GabrielePicco deleted the fix/webgl branch January 23, 2023 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant