0 votes

Whenever I try to make RPC calls, this error is raised:

ERROR: RPC 'sync_property' is not allowed on node /root/map1/Player2 from: 444705115. Mode is 0, master is 444705115.

Why? It causes my program to not work properly and I have no clue why.

in Engine by (129 points)

As far as I can tell this error is also raised if either the function does not exits (e.g. typo) or the requested function is not inside the same script as the rpc call. Hope this solved your issue

1 Answer

0 votes

It seems you're trying to call the rpc without the permission to do so.
You can restrict rpc permissions with master / remotesync / remote / puppet keywords.

So currently you're probably calling rpc from a client on a function marked with master.

by (24 points)

Actually, the function is marked with remote.

Okay, I just tried using all of those keywords in front of the function and the same error is raised every time.

I just came across this problem myself. The issue was a typo in the RPC call to the function. I called the function the wrong name.

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 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 webmaster@godotengine.org with your username.