Call connect dosn't work #248
Labels
bug/confirmed
Bug/regression has been confirmed.
cherrypick:2.0
Requires cherry-pick to Orchestrator 2.0
kind/bug
A bug or regression in expected behavior.
Describe the bug
Calling connect dosn't listen to that signal and call the method on the connected callable.
If I use make callable I get error in the output
_call_internal: Script call error #2 with Node 9: Failed to parse expression: Callable(Score:, "_on_update_score") <C++ Source> /home/runner/work/godot-orchestrator/godot-orchestrator/src/script/instances/script_instance.cpp:799 @ _call_internal()
If I make a gd file with the callable instead the error is removed but the connection still don't call the callable method.
If I make a gd file that look like this
func connecting(fromNode: Object, fromSignal: String, toNode: Object, toFunction: String): fromNode.connect(fromSignal, Callable(toNode, toFunction))
I can connect to this node and everything is working.
So it looks like there are some error with call connect and maybe also Make Callable
Expected behavior
Dynamicly connect two scene with signals
Actual behavior
No response
How to Reproduce?
Connect it like this
Godot full version
4.2.1.stable
Orchestrator version
v2.0.stable.official [98f58dc]
Additional information
No response
The text was updated successfully, but these errors were encountered: