Update: I tracked the error to this section of event_signal.gd, a script that comes as part of Dialogic
Error calling from signal ‘signal_event’ to callable: ‘Sprite2D(strawby_walk.gd)::_on_dialogic_signal’: Method expected 2 arguments, but called with 1.
This is the section below
func _execute() -> void:
if argument_type == ArgumentTypes.DICTIONARY:
var result: Variant = JSON.parse_string(argument)
if result != null:
var dict := result as Dictionary
dict.make_read_only()
dialogic.emit_signal('signal_event', dict)
else:
push_error("[Dialogic] Encountered invalid dictionary in signal event.")
else:
dialogic.emit_signal('signal_event', argument)
finish()
And this is where the error seems to be, according to the error message.
strawby_walk.gd which looks like it’s attached to a Sprite2D is calling dialogic.emit_signal() with only one argument, and it requires two. You cannot have default/optional arguments with signals. You’re only using one. If you have nothing to pass, just pass null - or in this case, and empty Dictionary{}.