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 Support #2

Closed
StephenHodgson opened this issue Mar 30, 2023 · 7 comments · Fixed by #8
Closed

WebGL Support #2

StephenHodgson opened this issue Mar 30, 2023 · 7 comments · Fixed by #8
Assignees
Labels
enhancement New feature or request

Comments

@StephenHodgson
Copy link
Member

This package should support WebGL but needs validation

@StephenHodgson StephenHodgson added the enhancement New feature or request label Mar 30, 2023
@StephenHodgson StephenHodgson self-assigned this Mar 30, 2023
@StephenHodgson
Copy link
Member Author

Confirmed that WebGL is not supported, because of threading being disabled in WASM

@Cdddo
Copy link

Cdddo commented Jun 2, 2023

Is it possible to use UniTask to replace this library, in order to get WebGL support for packages that are dependent on this (e.g. open ai for unity)? I've used UniTask successfully for many WebGL projects.

@StephenHodgson
Copy link
Member Author

I was looking at UnitTask to see what similar things they're doing, but as far as I can tell it'll still stall the main thread for long running tasks.

@StephenHodgson
Copy link
Member Author

There cannot be too much of a difference

@StephenHodgson
Copy link
Member Author

@Cdddo UniTask has the same limitation as this library
https://github.com/Cysharp/UniTask#threadpool-limitation

@StephenHodgson
Copy link
Member Author

Personally I think UniTask is too bloated which is why I don't use it.

@StephenHodgson
Copy link
Member Author

Discord thread discussing this development work: https://discord.com/channels/855294214065487932/1114208085154738317

@StephenHodgson StephenHodgson linked a pull request Jun 4, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants