# The function signature doesn't match the parent. Parent signature is "…" in Godot 4

The script overrides a method of its parent class with a different parameter list. func _process(): with no delta fails to parse with The function signature doesn't match the parent. Parent signature is "_process(float) -> void". Declare it as the parent does: func _process(delta: float) -> void, and prefix the parameter with an underscore if you do not use it.

Source: https://flockbay.com/godot/function-signature-doesnt-match-the-parent/ · Updated 2026-10-30

## What Godot is checking

When a script defines a function that a parent class already has, the analyzer compares the two: the number of parameters, their types, and the return type. A mismatch stops the script, and the message prints the parent's signature to copy.

Godot 4 checks this for the engine's virtual methods too: _process, _physics_process, _input, _unhandled_input, _draw, _ready and the rest.

## Reproduce it

A _process() override with no delta parameter.

```
extends Node

func _process():
	pass

```

## What Godot 4.7.2 prints

```
Godot Engine v4.7.2.stable.mono.official.ed1daf0bf - https://godotengine.org

SCRIPT ERROR: Parse Error: The function signature doesn't match the parent. Parent signature is "_process(float) -> void".
   at: GDScript::reload (res://answers/function-signature-doesnt-match-the-parent/repro.gd:3)
ERROR: Failed to load script "res://answers/function-signature-doesnt-match-the-parent/repro.gd" with error "Parse error".
   at: load (modules/gdscript/gdscript_resource_format.cpp:46)
```

## Fix it

Match the parent signature; an underscore marks an unused parameter.

```
extends Node

var frames := 0

func _process(_delta: float) -> void:
	frames += 1
	if frames == 3:
		print("three frames")

```

## What the fixed script prints

```
Godot Engine v4.7.2.stable.mono.official.ed1daf0bf - https://godotengine.org

three frames
```

## Run this fix with your agent

Flockbay is the Godot editor with an AI agent built in. Paste this into Flockbay's chat, or into Claude Code or Codex connected to Flockbay over MCP: the agent finds the cause in your project, applies the fix, runs the game headless and reads Godot's output to check it.

```
My Godot 4 project prints this error: "Parse Error: The function signature doesn't match the parent. Parent signature is "_process(float) -> void".". Find where it comes from and fix it. The script overrides a method of its parent class with a different parameter list. func _process(): with no delta fails to parse with The function signature doesn't match the parent. Parent signature is "_process(float) -> void". Declare it as the parent does: func _process(delta: float) -> void, and prefix the parameter with an underscore if you do not use it. Then run the game headless and check that Godot's output no longer shows it.
```

## Input callbacks take one event

_input(event: InputEvent), _unhandled_input(event: InputEvent) and _gui_input(event: InputEvent) each take exactly one parameter. Declaring them with none, or two, is this error.

## Verified on Godot 4.7.2

Both scripts on this page were run headless on Godot 4.7.2 (4.7.2.stable.mono.official.ed1daf0bf) on 18 October 2026, and the output above is what Godot printed, unedited.

Where the check lives in Godot's source: [gdscript_analyzer.cpp line 1973, the message](https://github.com/godotengine/godot/blob/4.7.2-stable/modules/gdscript/gdscript_analyzer.cpp#L1973).

## Questions

### Why the underscore in _delta?

It tells GDScript the parameter is unused on purpose, which silences the UNUSED_PARAMETER warning. The signature still matches.

### Can I give the parameter a different name?

Yes. Names do not need to match; the count, types and return type do.

Download Flockbay free: Flockbay's agent reads Godot's debugger output and fixes errors like this one in your project, on the official Godot. https://flockbay.com/download/

Related: [Cannot get return value of call to "…()" because it returns "void" in Godot 4](/godot/cannot-get-return-value-because-it-returns-void/), [Trying to return a value of type "…" from a function whose return type is "…" in Godot 4](/godot/trying-to-return-a-value-of-type-from-a-function-whose-return-type-is/), [Too few arguments for "…()" call. Expected at least N but received M in Godot 4](/godot/too-few-arguments-for-call-expected-at-least/), [Function "…()" not found in base self in Godot 4](/godot/function-not-found-in-base-self/), [Every verified Godot 4 answer](/godot/), [How do I see Godot’s output and errors in Flockbay?](/docs/how-do-i-see-godots-output-in-flockbay/)
