Skip to content

fix(plugin): drop hardcoded EngineVersion so plugin loads on 5.7 and 5.8 - #56

Merged
zenoengine merged 1 commit into
devfrom
fix/ue5.8-plugin-load
Jun 19, 2026
Merged

fix(plugin): drop hardcoded EngineVersion so plugin loads on 5.7 and 5.8#56
zenoengine merged 1 commit into
devfrom
fix/ue5.8-plugin-load

Conversation

@zenoengine

Copy link
Copy Markdown
Collaborator

Problem (found by dev smoke-testing on UE 5.8)

The source .uplugin pinned "EngineVersion": "5.7.0". Under UE 5.8 this triggers an "'UnrealMCPython' is Incompatible — Attempt to load it anyway?" prompt:

  • Interactive editor: a modal blocks startup waiting for input (the editor appears to hang).
  • -unattended: the prompt auto-answers NoLogPluginManager: Skipping load of 'UnrealMCPython' → no DLL, no TCP server, no actions.

So from source, the plugin silently does not load on 5.8. This is the companion fix to #55 (which fixed compilation); #55 alone is not enough to actually run on 5.8.

Fix

Remove the EngineVersion field. Without it, UE skips the version-compatibility check and the plugin loads on whatever engine opens it. This only affects source / source-zip usage — RunUAT BuildPlugin -Rocket stamps the building engine's EngineVersion into each precompiled binary zip's .uplugin, so per-version binary distribution is unchanged (the 5.8 zip already carries 5.8.0).

Verification (live UE 5.8 editor on dev)

  • Plugin mounts, DLL loads, TCP server starts on :12029 (no incompatibility prompt, no skip).
  • Gate 4 E2E: 254/254 pass — crash-guard confirms the editor survived the full sweep.
  • Gate 3 in-editor run_all: 280 pass / 1 fail / 0 errors / 18 skipped — the lone failure (test_create_widget_blueprint) root-caused to a stale MCP_TestWidget asset left by an earlier crashed headless run; deleting it makes creation succeed. Not a 5.8 regression.
  • The earlier headless is_in_pie crash was an artifact of -run=pythonscript (no LevelEditor viewport) — it passes in the full editor (covered by E2E).

…and 5.8

The source .uplugin pinned "EngineVersion": "5.7.0". Under UE 5.8 this
triggers an "incompatible plugin / load anyway?" prompt:
  - interactive editor: a modal blocks startup waiting for input;
  - -unattended: the prompt auto-answers "No" and the plugin is SKIPPED
    entirely (no TCP server, no actions) — so the plugin silently does
    not load on 5.8 from source.

Removing the field skips the version-compatibility check, so the plugin
loads cleanly on whatever engine opens it (verified 5.7 and 5.8). This
only affects source / source-zip usage: RunUAT BuildPlugin -Rocket stamps
the building engine's EngineVersion into each precompiled binary zip's
.uplugin, so per-version binary distribution is unchanged.

Verified on a live UE 5.8 editor (dev): plugin mounts, DLL loads, TCP
server starts on :12029, E2E 254/254 pass, in-editor suite 280 pass /
0 errors (the lone failure root-caused to a stale asset left by an
earlier crashed run, not a 5.8 regression).
@zenoengine
zenoengine merged commit 8a4a8ab into dev Jun 19, 2026
1 check passed
@zenoengine
zenoengine deleted the fix/ue5.8-plugin-load branch June 19, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant