+1 vote

I'm trying to send an RPC to the server from the client when the client connects. The call seems to do absolutely nothing, no errors on either side. The RPC is supposed happen when the scene tree emits the connected_to_server signal. Any ideas on how to fix this?

in Engine by (132 points)

1 Answer

0 votes

Maybe you just missed the remote (remotesync, master, puppet) keyword for the specific function? See https://docs.godotengine.org/en/3.1/tutorials/networking/high_level_multiplayer.html?highlight=remotesync#back-to-lobby

by (14 points)
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.