Quick answer: Your script defines a function that already exists in the class it extends, and its parameters or return type are not compatible with the original. The message quotes the signature Godot expects, for example _process(float) -> void. Make the override accept the same parameters (same count, same or untyped types) and return the same type, or rename the function if you did not mean to override anything.

This is a parse error on the func line, so the whole script fails to load. It shows up in two situations. One is an engine callback such as _process, _physics_process or _input written without its parameter or with the wrong type. The other is your own class hierarchy after a refactor, where a base script and a child script no longer agree on a function. The message already contains the answer, and most of the work is reading it. This guide covers the exact rules Godot applies (they changed between 4.1 and 4.2), a table of common engine callbacks, the fixes for both situations, how super() fits in, and the related error for overriding an engine method that is not meant to be overridden.

The exact error

The script editor marks the func line and shows:

The function signature doesn't match the parent. Parent signature is "_process(float) -> void".

Running the project gives the usual load failure in the log:

SCRIPT ERROR: Parse Error: The function signature doesn't match the parent. Parent signature is "_process(float) -> void".
          at: GDScript::reload (res://player.gd:8)
ERROR: Failed to load script "res://player.gd" with error "Parse error".

The quoted part is the parent’s version of the function, written as parameter types only, then the return type:

Godot 3 has the same check with a slightly different layout, a colon and the return type first: Parent signature is: "void take_damage(int)".

What counts as a match

The idea behind the check: anything that works on the parent must work on the child. Code that holds a variable of the parent type will call the function the way the parent declared it, and the child’s version has to accept that call.

Part of the signatureRule in Godot 4.2 and later
staticMust be the same on both. A static function cannot override a non-static one or the reverse
Number of parametersThe override cannot drop a parameter. Extra parameters are allowed only if they have default values. Where the parent has a default, the override needs one too
Parameter typesThe same type, a wider type (a class the parent’s type inherits from), or no type at all. A narrower type is an error. int and float count as different types here
Return typeChecked only when the override declares one. It must be the same type or a narrower one (a subclass). -> void is an error when the parent returns a value
Parameter names, default valuesNot compared. You can rename delta to _delta or use a different default

Godot 4.0 and 4.1 are stricter about types: where both the parent and the override declare a type, the two must be identical. A wider parameter type or a narrower return type that 4.2 accepts is an error there. In every version, leaving a parameter or the return untyped in the override passes the type part of the check, so only the count and static remain.

The constructor _init is exempt. A child class may give _init any parameters it likes.

What causes it

  1. A callback without its parameter. func _process(): or func _physics_process():. The engine passes delta on every call, so the function must take it even when you do not use it.
  2. The wrong type on a callback parameter. func _process(delta: int), or an input callback narrowed to the event you care about: func _input(event: InputEventKey), func _unhandled_input(event: InputEventMouseButton).
  3. A callback ported from Godot 3. _unhandled_key_input took an InputEventKey in Godot 3 and takes an InputEvent in Godot 4, so a typed Godot 3 override no longer matches.
  4. The wrong return type. func _ready() -> bool, or func _get_configuration_warnings() -> Array where the engine expects a PackedStringArray.
  5. The callback of a different class. A 3D signature pasted into a 2D script, such as _integrate_forces(state: PhysicsDirectBodyState3D) on a RigidBody2D.
  6. Your own base class and a child drifted apart. A parameter was added to take_damage() in the child only, or in the base only, during a refactor.
  7. An accidental override. You wrote a new function and its name happens to exist in the script you extend, or in an addon’s base class, with different parameters.

To find which one applies, compare your func line with the quoted signature one item at a time: count, each type, return. If the quoted function is not one you recognize, hold Ctrl (Cmd on macOS) and click the class name after extends to open the parent script or the class reference and search for the function there.

Engine callbacks and their signatures

These are the callbacks people override most, as the error message prints them:

ClassParent signature
Node_ready() -> void, _enter_tree() -> void, _exit_tree() -> void
Node_process(float) -> void, _physics_process(float) -> void
Node_input(InputEvent) -> void, _unhandled_input(InputEvent) -> void, _unhandled_key_input(InputEvent) -> void, _shortcut_input(InputEvent) -> void
Node_get_configuration_warnings() -> PackedStringArray
Object_notification(int) -> void, _to_string() -> String
CanvasItem_draw() -> void
Control_gui_input(InputEvent) -> void, _get_minimum_size() -> Vector2, _has_point(Vector2) -> bool
CollisionObject2D (Area2D, bodies)_input_event(Viewport, InputEvent, int) -> void
RigidBody2D_integrate_forces(PhysicsDirectBodyState2D) -> void
RigidBody3D_integrate_forces(PhysicsDirectBodyState3D) -> void

You do not have to memorize these. In the script editor, type func _ and pick the callback from the autocompletion list: Godot inserts the full line. With Editor Settings > Text Editor > Completion > Add Type Hints enabled, the inserted line includes the parameter and return types.

Fix 1: match the engine callback

Two broken overrides in one script:

extends CharacterBody2D

func _physics_process() -> void:
    # Parent signature is "_physics_process(float) -> void".
    move_and_slide()

func _unhandled_input(event: InputEventKey) -> void:
    # Parent signature is "_unhandled_input(InputEvent) -> void".
    if event.pressed and event.keycode == KEY_ESCAPE:
        get_tree().quit()

And the corrected versions:

extends CharacterBody2D

func _physics_process(_delta: float) -> void:
    move_and_slide()

func _unhandled_input(event: InputEvent) -> void:
    var key := event as InputEventKey
    if key and key.pressed and key.keycode == KEY_ESCAPE:
        get_tree().quit()

The leading underscore in _delta tells Godot the parameter is unused on purpose, which keeps the unused-parameter warning away. The name is free; the type and the position are what must match.

The input case deserves a word, because narrowing the type looks like a reasonable way to say “I only want key events”. The engine calls _unhandled_input with every kind of event: mouse motion, joypad buttons, touches. A function that only accepts InputEventKey could not take those calls, so Godot rejects the declaration. Keep the parameter as InputEvent and narrow it inside the function with as (which gives null for other event types) or with if event is InputEventKey:.

For a return type mismatch, either write the type from the message or leave the return type off. func _ready(): and func _ready() -> void: are both accepted; func _ready() -> bool: is not.

If the type in your override is a Godot 3 class name such as Physics2DDirectBodyState, you get a different error first, covered in the “Could not find type” guide.

Fix 2: bring your own classes back in line

Here the parent is a script of yours:

# enemy.gd
class_name Enemy
extends CharacterBody2D

var health := 100

func take_damage(amount: int) -> void:
    health -= amount
# boss.gd
extends Enemy

var armor := 5
var last_attacker: Node = null

func take_damage(amount: int, source: Node) -> void:
    # Parent signature is "take_damage(int) -> void".
    last_attacker = source
    health -= maxi(amount - armor, 0)

Somewhere a bullet script holds a variable typed as Enemy and calls enemy.take_damage(10). If that enemy is a boss, the call is one argument short. Godot refuses the override so that this cannot happen. There are three ways to resolve it, and the right one depends on what the extra parameter means.

The extra parameter is optional. Give it a default value and the override accepts both forms of the call:

func take_damage(amount: int, source: Node = null) -> void:
    last_attacker = source
    health -= maxi(amount - armor, 0)

Every enemy should receive it. Add the parameter to the base function, then update every override and every caller. Use Search > Find in Files for take_damage( to list them. Each child script reports its own mismatch only when it is loaded, so searching is faster than waiting for the errors. Callers you miss are reported as too few arguments for the call.

It is really a different operation. Rename the child’s function, for example take_damage_from(amount, source), and leave the inherited take_damage() alone.

The same reasoning covers the other rules. If the base declares static func create() -> Enemy, the child’s create() must be static too. If the base declares func get_target() -> Node2D, a child may declare -> Player on Godot 4.2 or later (assuming Player is a kind of Node2D), because every caller expecting a Node2D is still satisfied. It may not declare -> Node, which promises less than the parent did.

Calling the parent’s version with super()

An override replaces the parent’s function. To run the parent’s code as well, call super() with the arguments the parent expects:

func take_damage(amount: int, source: Node = null) -> void:
    last_attacker = source
    super(maxi(amount - armor, 0))    # runs Enemy.take_damage()

super() on its own calls the parent’s function of the same name. super.other_function() calls a different one. This replaces the Godot 3 syntax with a leading dot, .take_damage(amount).

Two behaviors differ from Godot 3 and matter when you port a project. In Godot 3, callbacks such as _ready and _process defined in a parent script ran automatically in addition to the child’s. Godot 4 runs only the child’s version, so a child that overrides _ready needs a super() line to keep the parent’s setup. And super() only reaches script code. In a script that extends an engine class directly, calling it inside a callback is an error on Godot 4.2 and later:

Cannot call the parent class' virtual function "_ready()" because it hasn't been defined.

Delete the super() line in that case. The engine class has no script version of _ready to call.

The related error: overriding a non-virtual engine method

Callbacks that start with an underscore are designed to be overridden. Ordinary engine methods are not. Define a function with the name of one and Godot 4 reports:

The method "get_class()" overrides a method from native class "Object". This won't be called by the engine and may not work as expected. (Warning treated as error.)

This is the NATIVE_METHOD_OVERRIDE warning, which is set to Error by default. Godot 4.0 prints the method name without the parentheses. Names that collide often are get_class(), get_name(), get_parent(), get_position(), is_visible(), show(), hide(), duplicate() and queue_free(). If your version also has different parameters, the signature error appears alongside it.

The message describes the real problem: engine code that calls queue_free() or get_name() goes straight to the built-in method and never sees yours, so the function runs for some callers and not for others. The fix is a different name or the hook the engine provides for that purpose:

The level can be lowered under Project > Project Settings > Debug > GDScript > Native Method Override (turn on Advanced Settings if the section is hidden). That removes the error and leaves the behavior the message warns about, so renaming is the better fix.

How to confirm the fix

Save the script and check that the error under the code is gone. Then run a scene that uses the node and confirm the callback fires, for example with a temporary print() in _physics_process, because a script that failed to load leaves the node sitting still with no further errors (the same symptom as in _physics_process not being called). For a change to one of your base classes, open or run every scene that uses a child class at least once. Scripts are parsed when they are first loaded, so a child in a rarely visited level keeps its mismatch until someone opens it.

What reaches players

The signature check is made by the editor while it parses the script, and Bugnet has no part in it. Export templates do not include this check at all, so nothing in a shipped game prints this message. What can reach players is the family of calls the parser never sees: a signal connected to a function with the wrong number of parameters, or a call made by name with call() or through an untyped variable. Those fail when the line runs, as described in the signal argument count guide, and the game usually keeps going with the handler skipped.

Bugnet’s Godot SDK reads the engine’s log file for its automatic error capture. With File Logging enabled (it is off by default on mobile exports), an error the engine writes there can reach your dashboard with platform, OS and game version attached, and repeats stack under one title. Release builds do not reliably log script-level call errors, so where a skipped call would be costly, check first and report the unexpected branch yourself:

func hit(target: Node, amount: int) -> void:
    if target.has_method("take_damage"):
        target.take_damage(amount)
    else:
        Bugnet.report_error("Hit a target with no take_damage()", "target: %s (%s)" % [target.name, target.get_class()])

The SDK setup is in the SDK docs.

Frequently asked questions

What does The function signature doesn't match the parent mean in Godot?

Your script defines a function that already exists in the class it extends, with a parameter list or return type that is not compatible with the original. The message quotes the parent's signature so you can compare. It is a parse error, so the script does not load until the override matches or is renamed.

Why does func _process(): give a signature error in Godot 4?

The engine calls _process with one float argument, the frame time, so the parent signature is _process(float) -> void. An override with no parameters cannot receive that call. Write func _process(delta: float) -> void, or name the parameter _delta if you do not use it.

Can I type the event parameter of _input as InputEventKey?

No. The engine passes every kind of input event to _input and _unhandled_input, so the parameter must stay InputEvent or be left untyped. Narrow it inside the function with event as InputEventKey or with an is check.

Can an overriding function have extra parameters in GDScript?

Only if the extra parameters have default values, so that a call written for the parent still works on the child. An override can never drop a parameter the parent declares. If the new parameter is required, add it to the parent function as well or give the child function a different name.

What does The method overrides a method from native class mean?

You defined a function with the same name as a built-in engine method that is not meant to be overridden, such as get_class() or queue_free(). Engine code never calls your version, so Godot 4 treats this NATIVE_METHOD_OVERRIDE warning as an error by default. Rename the function or use the matching callback such as _exit_tree() or _to_string().

The message quotes the signature the parent expects. Copy its parameter count and types, or leave the types off, and add default values to any parameter the parent does not have.