Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

WebGL LiveQuery Callbacks are not fired. #81

Closed
xactant opened this issue Mar 8, 2022 · 4 comments · Fixed by #91
Closed

WebGL LiveQuery Callbacks are not fired. #81

xactant opened this issue Mar 8, 2022 · 4 comments · Fixed by #91
Assignees
Labels
bug Something isn't working

Comments

@xactant
Copy link
Contributor

xactant commented Mar 8, 2022

In WebGL the sub-scribal client is not re-acting to events or firing callback methods.

Move LiveQuery for WeGL listener to JS with jslib interface to Unity,

@xactant xactant added the bug Something isn't working label Mar 8, 2022
@xactant xactant self-assigned this Mar 8, 2022
@xactant
Copy link
Contributor Author

xactant commented Mar 25, 2022

  • Created js code in Templates index.js for connecting and communicating with a websocket.
  • Created MoralisLiveQueriesGL.cs and moralisLiveQueryGl.jslib as a bridge between Unity and javascript.

@xactant
Copy link
Contributor Author

xactant commented Mar 25, 2022

  • Added a bunch of logs in the js side to figure out why W.S. connection is connecting but response is false.
    Current response received and passed through final method as {"isTrusted": true} but response sent to C# layer is undefined.

@xactant
Copy link
Contributor Author

xactant commented Mar 25, 2022

  • Receiving the 'true' response, back to original error '190' nothing in Google or Unity docs about what this means ...

@xactant
Copy link
Contributor Author

xactant commented Mar 29, 2022

Fix checked into the metaverse branch.

@xactant xactant mentioned this issue Mar 30, 2022
@xactant xactant linked a pull request Mar 30, 2022 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant