-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feedback for /docs/tutorials/helloworldparttwo.md #144
Comments
Maybe the solution is as simple as changing this code section: Or am I not understanding it correctly? Thanks for the reply. |
@Cosmin-B do we need to add some clarification to the guide here or is their an issue with the code as written? |
I had the same warning ("Only the owner can invoke a ServerRpc that requires ownership!"). public override void NetworkStart()
{
if (!IsOwner) return;
Move();
} When we start the client the NetworkStart Method is called on both instance of the player script (the host one and the client one). |
THis is now in process and will be updated. Thanks for your contribution |
Hello, I am configuring Hello World project according to this tutorial, but I am little bit confused by the result.
After finishing the tutorial:
However, as stated by docs:
If we are a client, we call a server RPC. This server RPC simply sets the position NetworkVariable on the server's instance of this player...
So, can a client call a server RPC or only the owner?
The text was updated successfully, but these errors were encountered: