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

feat: session state token #3228

Draft
wants to merge 4 commits into
base: develop-2.0.0
Choose a base branch
from
Draft

Conversation

DSchroer
Copy link

@DSchroer DSchroer commented Feb 5, 2025

https://jira.unity3d.com/browse/MTT-10043

https://docs.google.com/document/d/1st5PoxRa7rg5JsLW0pKbVAgaqBP1QdUCx2gFlHXEicg/edit?tab=t.0

Adding a SessionStateToken to the ConnectionApproved message and incrementing the version. This is safe without implementing the feature as the service does not need to make any assumptions about what the client does with this information.

Changelog

  • Added: Session State Token into the ConnectionApproved message

Testing and Documentation

  • Tested using E2E tests and existing tests

Related PR

https://github.com/Unity-Technologies/mps-common-multiplayer-backend/pull/976

@DSchroer DSchroer requested a review from a team as a code owner February 5, 2025 18:18
@DSchroer DSchroer marked this pull request as draft February 5, 2025 21:15
Copy link
Collaborator

@EmandM EmandM left a comment

Choose a reason for hiding this comment

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

Is this SessionStateToken intended to be used outside of DistributedAuthority? If not, the token should go in the ServiceConfig rather than in the ConnectionApproval message itself

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.

2 participants