client problem

Hello Guys,

Have a big problem with my coop fps game. When ClientPlayer joins to the game, he doesn’t know “what happened” before his joining. I mean ServerClient has weapons, what he picked up before, but Client doesn’t know this when joining. Syncvar is synching only when its value is changing, but during a joining it doesn’t change, or it doesn’t matter?

What is the correct procedure in this case?


I added a SyncVar variable about the joint which is the parent of the gun and used it in the OnStartClient function.