Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Syncvar update late

$
0
0
Hi, I have a syncvar of type bool, and I need in Update() function, when has a value do something.
The problem is that server change correctly the var, but Update() function is executed 3 times until syncvar is properly updated. And I need this in the moment.

Why the change of the syncvar is not instantly? I know that Update is executed every frame and the update of the syncvar is doing in paralel while Update is executing, so how can I get this?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>