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

When a new room is created, the rest of the rooms in the room list will dissapear. #2

Open
RugbugRedfern opened this issue Jan 25, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@RugbugRedfern
Copy link
Owner

RugbugRedfern commented Jan 25, 2021

This is caused because of the misinterpretation of how OnRoomListUpdate is handled with Photon. It is not a list of all the current rooms, it is a list of the updated rooms. Therefore, when we destroy all the other room list itemss before handling the new rooms, we are actually destroying all the room list itemss which have not been changed.

The temporary fix is pinned on the discord server, and you can find a solution by SFDarkHZ here:
https://discord.com/channels/542907143779516476/731248980310360194/745761364915519569

@RugbugRedfern RugbugRedfern added the bug Something isn't working label Jan 25, 2021
@RugbugRedfern RugbugRedfern self-assigned this Jan 25, 2021
@RugbugRedfern
Copy link
Owner Author

Old link is dead, https://paste.myst.rs/a5i

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant