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

SyncWorker failing with error #1091

Closed
Kooshaba opened this issue Jun 29, 2023 · 5 comments
Closed

SyncWorker failing with error #1091

Kooshaba opened this issue Jun 29, 2023 · 5 comments

Comments

@Kooshaba
Copy link
Contributor

CleanShot 2023-06-29 at 15 40 45@2x

Something is getting passed to postMessage that is not serializable by a web worker.

@Kooshaba
Copy link
Contributor Author

I'm looking into this further as Sky Strife desperately needs the SyncWorker to handle the amount of state we are dealing with in the match structure.

@Kooshaba
Copy link
Contributor Author

@holic I found what it is. devEmit was added as part of the event coming from the worker, but the function can't be serialized into JSON. As a quick fix I'm down to disable devEmit and break dev tools because we mainly need this for production deployments.

@holic
Copy link
Member

holic commented Jun 29, 2023 via email

@Kooshaba
Copy link
Contributor Author

Kooshaba commented Jul 5, 2023

#1109 PR opened here

@alvrs
Copy link
Member

alvrs commented Sep 6, 2023

PR got merged (and SyncWorker is deprecated now)

@alvrs alvrs closed this as completed Sep 6, 2023
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

No branches or pull requests

3 participants