Skip to content

Can't get ScriptEngine to work [5.4.22.0] #17

@Dealman

Description

@Dealman

For reference, trying to use this with Valheim. I've added ScriptEngine.dll to the plugins folder and it seems to fire up normally;
[Info : BepInEx] Loading [Script Engine 11.0]

I press F6 to reload the scripts and get these log message (auto-load off, but same result with it on);

[Info   :Script Engine] Loading plugins from C:\Program Files (x86)\Steam\steamapps\common\Valheim\BepInEx\scripts\ValheimTest.dll
[Info   :Script Engine] Unloading old plugin instances
[Info   :Script Engine] Loading plugins from C:\Program Files (x86)\Steam\steamapps\common\Valheim\BepInEx\scripts\ValheimTest.dll

However, neither of my patches are applied and neither does Awake or OnDestroy for the plugin execute. Seems like it simply doesn't do anything, no errors, no warnings, no debug messages.

If I cut and copy ValheimTest.dll from the scripts folder and put it in the plugins folder - it works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions