-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfixes: Fix #83, NREs emitted due to ClientDisconnect jank
ClientDisconnect seems to get called now when closing HostClient mode which originally set ClientState to Disconnecting... but in HostClient, the Client is not connected to the server so the main update loop tries to pump but gets null reference exceptions because some references are null (due to the reason it's not connected to the server). HostClients never connect to localhost themselves, they use a emulated connection. In theory, this patch should be fine, works with the latest Mirror Basic scene so uhh... I guess we're done here.
- Loading branch information
1 parent
4bfd8e3
commit 05b34a9
Showing
2 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters