Endturn Button Multiplayer(Netcode for GameObjects)

That would switch it from true to false or vice versa.

Ok then thats also not the problem, but what is it then?

It shouldnt work on the second time? I mean nothing is diferent. On the first nothing happens, but why on the second and when i click again it doesnt work but if i do it again it work

Is the rpc being called from a networkBehaviour that was spawned by the server? That was one of the other requirements in the documentation.

I dont know, but it is a NetworkBehavior

I did it :partying_face:. I needed to change in the NetworkVariable<bool>
the write permission to Owner :man_facepalming:.
But still thank you for your help!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms