- Home /
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?
Answer by Andriska07 · Jan 02, 2018 at 07:05 PM
Fixed.
I added a SyncVar variable about the joint which is the parent of the gun and used it in the OnStartClient function.
Your answer
![](https://koobas.hobune.stream/wayback/20220612145540im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
attached prefabs before client joins 2 Answers
Local Server and Client 1 Answer
Network.Instantiate and the Trusted Client problem 0 Answers
How to spawn myself in server and other players. 2 Answers
RPC network info not returning an IP? 0 Answers