We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
When subscribing to the account on multiple channels none of the subscriptions trigger anymore.
When Socket connection looses connection, when running for a while in a webgl build for example, there is no automatic reconnect.
Socket subscribe functions default to finalized, I would recommend using confirmed commitment.
To Reproduce Reprouction can be found in this project in the TokenPanel. The subscription only works When waiting a few seconds after the Login happened. https://github.com/solana-developers/solana-game-starter-kits/blob/main/lumberjack/unity/Lumberjack/Assets/Game/Scripts/Ui/TokenPanel.cs I added a bunch of comments to the file for easy reproduction.
Expected behavior I would like an implementation like here: https://github.com/solana-developers/solana-game-starter-kits/blob/main/seven-seas/unity/Assets/SolPlay/Scripts/Services/SolPlayWebSocketService.cs
Where the subscriptions are saved independant from the socket state and when the sockets connects or reconnects the subscriptions get reapplied.
The text was updated successfully, but these errors were encountered:
Thanks for opening the PR. Done some initial work in #186.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
When subscribing to the account on multiple channels none of the subscriptions trigger anymore.
When Socket connection looses connection, when running for a while in a webgl build for example, there is no automatic reconnect.
Socket subscribe functions default to finalized, I would recommend using confirmed commitment.
To Reproduce
Reprouction can be found in this project in the TokenPanel. The subscription only works When waiting a few seconds after the Login happened.
https://github.com/solana-developers/solana-game-starter-kits/blob/main/lumberjack/unity/Lumberjack/Assets/Game/Scripts/Ui/TokenPanel.cs
I added a bunch of comments to the file for easy reproduction.
Expected behavior
I would like an implementation like here:
https://github.com/solana-developers/solana-game-starter-kits/blob/main/seven-seas/unity/Assets/SolPlay/Scripts/Services/SolPlayWebSocketService.cs
Where the subscriptions are saved independant from the socket state and when the sockets connects or reconnects the subscriptions get reapplied.
The text was updated successfully, but these errors were encountered: