Skip to content

Several mods cannot extend the same script with a class_name #338

@ColdCalzone

Description

@ColdCalzone

In Godot 4, having two or more mods extend the same script causes every script after the first to be ignored. I've found that parent_script.resource_path is blank after the first extension takes over.
After modifying the apply_extension function to sidestep that issue, I found that every extension except the last one is ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    4.xbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions