Skip to content

fix: Set default nonce of Relay server data to 1#2223

Merged
simon-lemay-unity merged 1 commit intodevelopfrom
fix/relay-nonce
Sep 28, 2022
Merged

fix: Set default nonce of Relay server data to 1#2223
simon-lemay-unity merged 1 commit intodevelopfrom
fix/relay-nonce

Conversation

@simon-lemay-unity
Copy link
Copy Markdown
Contributor

Before UTP 1.3 and 2.0, validation of the Relay parameters errors out if the nonce is 0. But that's a valid value (it's what the Relay team recommends we use). To avoid breakage on develop until we start depending on UTP 1.3, this PR sets the nonce to 1, which should pass parameter validation.

Changelog

N/A (Unless users are tracking develop, this is not an issue they would have observed.)

Testing and Documentation

  • No tests have been added.
  • No documentation changes or additions were necessary.

@simon-lemay-unity simon-lemay-unity requested a review from a team as a code owner September 28, 2022 15:06
@simon-lemay-unity simon-lemay-unity merged commit adc6432 into develop Sep 28, 2022
@simon-lemay-unity simon-lemay-unity deleted the fix/relay-nonce branch September 28, 2022 17:25
jakobbbb pushed a commit to GooseGirlGames/com.unity.netcode.gameobjects that referenced this pull request Feb 22, 2023
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