- Home /
The question is answered, right answer was accepted
Unet Client disconnect Crc Mismatch
Ever since , i updated to Unet 5.3 i get a crc mismatch on my game, i had previously configured my network settings to channel 0 : reliable sequenced and channel 1: unreliable sequenced, which seemed to work fine before the new update. But now i get an CrC Mismatch error every time, just before the other lobby player enters the game. The error is displayed on the client screen. The only way i got it to work is by using Reliable at channel 0 and unreliable at channel 1. However, i am working on a turn based game, in which delivery order is important and without reliable sequence my game gets stuck if there is a lag issue .
I have tried turning off Script Crc check from lobbymanager. My builds are also identical and have the identical network configuration. Trying to change the channel from reliable, unreliable to any other options brings up an error. Please help!
I like to add , this happened when i updated to 5.2.3 from 5.2.1
@meat5000, i have tried setting max number of connections to 4 aswell , i dont understand how my editor and windows build can have different network configs, considering that change settings , save then and press Ctrl + B and run the build. This is strange .
Perform a re-build but before you do make sure to totally clean out (delete) the old Build data, especially the .exe
And make sure that Network Emulation is switched OFF in the editor.
Oh yes... Preprocessor Directives; Platform Dependency. If you have specified any platform specific directives this may cause your problem.
I'd be happy to take a look at your project.
Answer by Saadrashid_inc · Feb 11, 2016 at 01:48 PM
Fixed it , still don't know what caused it though . There was some problem in the Join match code , i was basically using networkMatch.JoinMatch(_ID, "", OnMatchJoined ) . For some reason , whenever i tried to join as a client and set Qos channel to reliable sequenced , it gave me a Crc error. Now i used the matchmaker's joinmatch method manager.matchMaker.JoinMatch(_ID, "", manager.OnMatchJoined) and it worked.
P.s The unity docs could be much more helpful though !
Write your experiences in the link I gave you. Itll help more people that way.