Skip to content

fix: Error when using 'Use Encryption' with secure Relay #2289

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

Merged
merged 3 commits into from
Nov 4, 2022

Conversation

simon-lemay-unity
Copy link
Contributor

If you enabled encryption in UnityTransport and then chose a Relay configuration that used a secure protocol, you'd get an error. Turns out our logic to display the error was simply using the wrong comparison.

Changelog

  • Fixed: Fixed an issue in UnityTransport where an error would be logged if the 'Use Encryption' flag was enabled with a Relay configuration that used a secure protocol.

Testing and Documentation

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

@simon-lemay-unity simon-lemay-unity requested review from a team as code owners November 1, 2022 19:07
@simon-lemay-unity simon-lemay-unity enabled auto-merge (squash) November 3, 2022 19:59
@simon-lemay-unity simon-lemay-unity merged commit f6db03f into develop Nov 4, 2022
@simon-lemay-unity simon-lemay-unity deleted the fix/relay-wss-flag-logic branch November 4, 2022 00:08
jakobbbb pushed a commit to GooseGirlGames/com.unity.netcode.gameobjects that referenced this pull request Feb 22, 2023
…ologies#2289)

* fix: Error when using 'Use Encryption' with secure Relay

* Add PR number to CHANGELOG entry
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.

3 participants