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 WebSocket Dispatcher losing connection on scene transition #174

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

GabrielePicco
Copy link
Collaborator

Fix WebSocket Dispatcher losing connection on scene transition

Status Type ⚠️ Core Change Issue
Ready Bug No #169

Problem

WebSockets were losing connection on scene transition, due to the dispatcher being destroyed

See #169 for a detailed description

Solution

Marked the dispatcher with DontDestroyOnLoad to persist across scenes: magicblock-labs/NativeWebSocket@7748e12

Issues

Closes #169

@GabrielePicco GabrielePicco merged commit 953736f into main Sep 8, 2023
@GabrielePicco GabrielePicco deleted the fix/websocket-dispatcher branch September 8, 2023 18:25
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.

WebSocket implementation not working
1 participant