Closed Nyert closed 2 years ago
tried it without issues on 2021.2.3 and latest dotsnet. are you sure the bug still exists? do you have a stack trace?
looks like volunatry Disconnect() clears state, but ONDisconnect doesn't though
ironically delta snapshots auto spawns all the previous ones which are not in first spawn message. but still need to refactor the code so that voluntary and involuntary disconnects both call OnDisconnected
added a test to reproduce & to avoid it in the future:
fixed in next version, thanks
Describe the bug the NetworkClientSystem spawned dictionnary wont get cleared if the transport disconnect the client.
[IMPORTANT] How can we reproduce the issue, step by step:
Expected behavior should not crash and connect instead
Desktop (please complete the following information):