You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
I have an overloaded method in my C# code that I tried to send an RPC message to, I had only the overloaded method with two parameters tagged for rpc.
// With a [Remote] keyword here it worksprivatevoidLog(StringText){
Log(Text, Colors.White);}[Remote]privatevoidLog(StringText,ColorColor){
LogText.Log(Text, Color);if(MDStatics.IsServer()){
Rpc(nameof(Log), Text, Color);}}
As you can see it attempts to call itself, however when you don't have a [Remote] keyword on the Log(String Text) I get the following errors on my clients:
ERROR: RPC 'Log' is not allowed on node /root/AutomaticTestsMain from: 1. Mode is 0, master is 1.
At: core/io/multiplayer_api.cpp:291
ERROR: RPC 'Log' is not allowed on node /root/AutomaticTestsMain from: 1. Mode is 0, master is 1.
At: core/io/multiplayer_api.cpp:291
Steps to reproduce:
Setup a network connection between two clients, have an overloaded method where you only tag one of them with [Remote] and it should be fairly easy to reproduce.
Minimal reproduction project:
I do not have one as I am using a framework for all my networking which means extracting this and setting it up as a standalone project would be more work than I got time for at the moment.
The text was updated successfully, but these errors were encountered:
Godot version:
3.2.2 Stable
OS/device including version:
Windows 10 64-bit
Issue description:
I have an overloaded method in my C# code that I tried to send an RPC message to, I had only the overloaded method with two parameters tagged for rpc.
As you can see it attempts to call itself, however when you don't have a [Remote] keyword on the
Log(String Text)
I get the following errors on my clients:Steps to reproduce:
Setup a network connection between two clients, have an overloaded method where you only tag one of them with [Remote] and it should be fairly easy to reproduce.
Minimal reproduction project:
I do not have one as I am using a framework for all my networking which means extracting this and setting it up as a standalone project would be more work than I got time for at the moment.
The text was updated successfully, but these errors were encountered: