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

fix: better transport checks on NS and NC #464

Merged
merged 3 commits into from
Nov 3, 2020
Merged

Conversation

uweeby
Copy link
Member

@uweeby uweeby commented Nov 3, 2020

On NC it was not actually setting the value of the comp found via GetComponent. That would cause the following try to throw an NRE when you tried to connect. Now it throws for the same reason but gives a specific line and reason in the debug message. Much easier to debug. The same logic was applied to the server side.

Assets/Mirror/Runtime/NetworkClient.cs Outdated Show resolved Hide resolved
Assets/Mirror/Runtime/NetworkServer.cs Outdated Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Nov 3, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

57.1% 57.1% Coverage
0.0% 0.0% Duplication

@paulpach paulpach merged commit 7703d80 into master Nov 3, 2020
@paulpach paulpach deleted the trasnportCheck branch November 3, 2020 19:08
github-actions bot pushed a commit that referenced this pull request Nov 3, 2020
## [56.4.2](v56.4.1...v56.4.2) (2020-11-03)

### Bug Fixes

* better transport checks on NS and NC ([#464](#464)) ([7703d80](7703d80))
* old refs to NetMan ([0df8c89](0df8c89))
@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2020

🎉 This PR is included in version 56.4.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants