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
Incompatibility trying to attach a signal to a C# receiver method with extra call arguments. Receiver method will not show up in the "select a method" picker box. Method name can be manually entered and functions properly but signal connections occasionally lost by reimport/scene cleanup.
Steps to reproduce
Reproduction project included. Several buttons with signal connections to the UI.cs script that has a method public void OnButtonPress(int index). Signal connection uses extra call arguments to pass index into method but method name not populated in method picker.
Not available for GDScript too. Seems the picker don't consider the extra arguments.
If that is true then maybe title and labels should be updated?
I just ran into this issue today and think it deserves higher priority, because it is a clear blocker for a common use case. And C# only issue are treated as second-class compared to an issue that affect everyone.
Godot version
v4.1.2.stable.mono.official [399c9dc]
System information
MacOS Ventura 13.6
Issue description
Incompatibility trying to attach a signal to a C# receiver method with extra call arguments. Receiver method will not show up in the "select a method" picker box. Method name can be manually entered and functions properly but signal connections occasionally lost by reimport/scene cleanup.
Steps to reproduce
Reproduction project included. Several buttons with signal connections to the UI.cs script that has a method
public void OnButtonPress(int index)
. Signal connection uses extra call arguments to pass index into method but method name not populated in method picker.Minimal reproduction project
GodotSignalBindingBug.zip
The text was updated successfully, but these errors were encountered: