Skip to content

Conversation

@LukeStampfli
Copy link
Contributor

@LukeStampfli LukeStampfli commented Mar 30, 2021

This PR adds the following

  • Room key is now a combination of region + randomly generated characters
  • Ability to specify room name has been removed
  • Room key can no longer be previewed before starting to host
  • Photon Realtime uses the room key to connect to the right room cross region.
  • fix UI placement of the box displaying UI in the character select (anchor was not set to top-left for some reason)

The reason why there is no room key preview anymore is because for that we would have to do an async operation which takes a few second to find the best connect region and then override the UI panel with the right value. It would introduce 100 LoC and the user experience wouldn't be great so I cut that feature.

@SamuelBellomo SamuelBellomo added the 1-Needs Review PR needs attention from the assignee and reviewers label Mar 30, 2021
}
}

void Update()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This stuff only exists because our connection management is broken. (We don't wait for the socket task returned by MLAPI to complete but jump to the character select scene immediately)

@SamuelBellomo SamuelBellomo added the 0-URGENT Blocker for a release and needs to be merged ASAP label Mar 30, 2021
@SamuelBellomo SamuelBellomo merged commit 4c8dbbc into release/v0.1.0-experimental Mar 30, 2021
@SamuelBellomo SamuelBellomo deleted the feature/region-support branch March 30, 2021 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-URGENT Blocker for a release and needs to be merged ASAP 1-Needs Review PR needs attention from the assignee and reviewers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants