This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Are the high level multiplayer RPC calls blocking or non-blocking? That is, when a local machine makes a remote RPC call, does it wait for a response from the remote saying the call has completed, or does it just send the call and continue with the function?

I would assume that they're non-blocking, but before I start planning things out I'd like to be sure.

in Engine by (113 points)

1 Answer

+2 votes
Best answer

Yes, they are non-blocking.

I called this code on server

    rpc( "printStuff" )

remote func printStuff():
    print ( get_tree().get_network_unique_id() )

and server's printStuff() got called before client's.

by (2,308 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.