GodotModding / GodotModding/godot-mod-loader

Parent class modifications are lost when both parent and child are modified via Extension

Open
#572 0 comments 0 reactions 0 assignees View on GitHub
4.x documentation
Dominant language
GDScript
Stars
675
Forks
54
Avg merge
2m
Merged PRs (30d)
2

Description

## Description

* Using Extension to modify both a parent class and its subclass will cause the modifications to the parent class to become completely ineffective.
* The call order of `install_script_extension` does not affect the result — the modifications to the parent class always become ineffective.
* The modifications to the subclass remain effective.
* No error log.
* If one side or both are modified through Hook instead, this issue will not occur.

## Environment

* OS: Windows 11
* Game: Dome Keeper
* Game Engine: godotsteam v4.2.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.