Skip to content

Broken mod script crashes ModLoader initialization #7

Description

@andreasthuis

Bug Description

When a mod contains a runtime/parse error or an invalid reference (such as attempting to modify a const resource or loading an invalid scene path), the entire mod loading sequence fails.

Instead of isolating the failing mod and continuing to load remaining mods, ModLoader fails to initialize.


Expected Behavior

The ModLoader should catch/log the exception or parse error for the specific mod, skip the faulty script, and continue initializing the game and remaining valid mods.


Actual Behavior

The entire initialization sequence breaks. Output logs show parse/runtime errors, and ModLoader fails to finish executing _mod_ready() or registration routines.


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't workingloader

Type

Projects

  • Status
    In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions