Plan V0.1.grok 4.7
I'll follow the review prompt exactly and start by reading its instructions and the plan.The prompt is a read-only review. I'll read the whole plan and check the architecture claims against current facts.The plan is short. I'll verify UnrealSharp, the Angelscript fork, CoreCLR hosting, and ISourceCodeAccessor against October 2026 sources before writing findings.The plan is short and architecture-only. I'll check UnrealSharp, the Angelscript fork, CoreCLR hosting, and ISourceCodeAccessor against October 2026 facts.The plan is short and has five open architecture questions. I'll check UnrealSharp, Angelscript, CoreCLR hosting, and ISourceCodeAccessor against October 2026 sources.## Verdict
FAIL. The plan treats a finished UnrealSharp 5.8 plugin as porting work, sets a hot-reload gate that plugin refuses during Play In Editor, and starts a private engine fork of the last UE5 release in parallel.
Findings¶
-
[severity: critical] Track A / Milestones. The Track A gate requires a C# Actor and component that hot-reload while running in PIE with 2 clients. In current
UnrealSharp/UnrealSharp,UCSHotReloadSubsystem::PerformHotReloadreturns immediately whenIsInPIE()orIsInSIE()are true, and reload runs only fromOnStopPlayingPIE.ShouldCreateSubsystemis also false for-unattendedand commandlets (open request #776, 2026-10-11), so an agent-driven editor will not get this reload either. "2 clients" is ambiguous: a listen server with 2 players is one extra window, while a dedicated server plus 2 clients is a different process layout, and both require replication that this gate does not need. Fix: make the gate a single-player PIE session on launcher UE 5.8. One[UClass]Actor ticks, one[UProperty]shows on a Blueprint child, and a non-structural edit applies on the automatic reload after PIE stops. Use an Actor, because #774 (2026-10-11) drops a world subsystem from running worlds when a saved unreloaded type compiles on first lookup. Park mid-PIE reload and replication as later conformance rows. -
[severity: critical] Track A / Open question 1. "Extend UnrealSharp to UE 5.8" is already upstream's stated support.
github.com/UnrealSharp/UnrealSharp(MIT, active through 2026-10-20) requires UE 5.6–5.8 and .NET 10.0.5+, generates bindings, registers C# types asUCSClass, and hosts CoreCLR throughhostfxr_initialize_for_runtime_configandhostfxr_get_runtime_delegateinCSDotNetRuntimeHost.cpp. NativeAOT is not a reason to pick it: issue #214 is still open andUnrealSharp.AOT.propsis an empty property group. Linux, iOS, and Android are listed as Planned, and #693 (2026-06-12) asks for a separate Mono runtime on mobile.bodong1987/UnrealSharp(.NET 8) andshalzuth/UnrealSharpare different projects with the same name. Fix: namehttps://github.com/UnrealSharp/UnrealSharpin the plan. M0 is a spike on that tree. Leave NativeAOT out of the selection. -
[severity: major] Track B / Milestones M3–M4 / Open questions 2 and 5. A parallel engine fork does not answer the milestone. Epic's 2026-06-23 release note says UE 5.8 is the last planned UE5 major while they ramp UE6. Hazelight's install page says UnrealEngine-Angelscript needs engine-source changes and is incompatible with prebuilt binary plugins. The file-level diff stays on Epic's gated GitHub, so it cannot be copied from public docs. Community plugin extractions already got Angelscript actors, components, and hot reload onto vanilla UE, and left mixins, data assets, and step-through debugging unfinished. UnrealSharp already reloads assemblies without a C++ module reload and already exposes C# classes as UClasses. The gaps that can still justify a private fork are only these four: reload while PIE is still running, cook and stage through BuildCookRun (#786, opened 2026-10-19), a managed debugger that stays bound across
UnloadAssembly, and a packaged executable that still runs the C# actor. Fix: delete parallel Track B. Keep a private fork as a written trigger after one of those four fails on the spike. Run the conformance checks against the plugin only. There is no shared fork module to place anywhere until that failure exists. -
[severity: major] Open question 3. The hosting question is already settled inside the chosen plugin, and the dangerous alternatives are easy to reinvent. UnrealSharp loads
hostfxrand unloads user assemblies. A collectibleAssemblyLoadContextunloads only after every GCHandle, static root, and stack frame releases it. UE garbage collection and the .NET garbage collector do not see each other's objects. The working bridge is a strong GCHandle owned by the UObject and released inBeginDestroyorFinishDestroy, plus a native pointer on the managed wrapper whose finalizer never touches a UObject off the game thread. UnrealSharp already callsForceManagedGCwhen PIE stops andCollectGarbageafter reload. UObject calls from the thread pool, the finalizer, or a debugger helper thread are illegal. Marshal them withAsyncTaskto the game thread.StartupModuleis a legal place to inithostfxr.DllMainis not. Fix: add those three rules as constraints and keep upstream's host. A unified GC is out of scope. -
[severity: major] Shared modules / M1 / Open question 4.
ISourceCodeAccessor(Engine/Source/Developer/SourceCodeAccess, anIModularFeature) opens a solution or a file at a line. It does not write.vscodeorlaunch.json. The VS Code project-file generator does that, and its launch config is a native debugger, not CoreCLR. Unreal's source-code dropdown has no Cursor entry. The working path is to generate the VS Code workspace and open the.code-workspacein Cursor. Jump-to-source still startsCode.exeuntil an accessor overrides the executable.agyis the Antigravity agent CLI, not the IDE used for Open File. A C# attach config is separate: typecoreclr, requestattach, process nameUnrealEditor.exe, portable PDBs beside the UnrealSharp assemblies, diagnostics left enabled. That session ends when UnrealSharp unloads the assembly. NativeAOT has no managed attach. Fix: take the accessor out of M1. After the actor spike, add one plugin that subclasses the VS Code accessor and points-g file:line:columnatCursor.exeand the Antigravity IDE binary. Leave workspace generation on the stock generator. Add thecoreclrattach entry only after one reload, and record that the reload ends the debug session. -
[severity: major] Constraints. The license lines misstate the current Unreal Engine EULA. Section 2 allows private modification. Section 5(a)(i) allows public distribution of Engine Code only to other licensees, and only through Fab or a fork of Epic's GitHub UnrealEngine network. Section 5(c) allows distribution of a non-C++ language integration only as source, including the compiler, linker, toolchain, and runtime, free of charge to UE licensees, under a license that lets them redistribute it free on all platforms in any product. "Public if its license allows" misses 5(c). A paid or binary-only C# plugin fails that section. MIT source matches it. Fix: private engine modifications only. Any public C# integration is MIT source, includes the runtime and toolchain it ships, and contains no Engine Code. Engine divergences stay private or on an Epic-network fork.
-
[severity: major] Milestones / Constraints. The 100+ GB source build is stated as a constraint on every milestone. Track A and the accessor run on the installed 5.8 editor. The disk and greatroom commit-charge limits apply only after a fork trigger fires. Fix: replace M0 and M1 with this. M0, on the gaming or streaming PC, launcher UE 5.8, Editor target only: clone
github.com/UnrealSharp/UnrealSharpintoPlugins, compile, add one Actor as in finding 1. Pass is the single-player tick, the Blueprint property, and reload after PIE stops. Write pass or fail for the four fork triggers in finding 3. Build the Editor target alone, because #782 (2026-10-17) produces inconsistent bindings when Editor and Game targets share one UBT invocation. M1 is that pass. No engine checkout, no second track, no accessor, no agent kit. -
[severity: minor] Shared modules. Claude Code Game Studios 1.2.0 (2026-10-19) is a general studio template whose Unreal specialists cover GAS, Blueprints, replication, and UMG. UE 5.8 already ships ModelContextProtocol, and Epic's Claude Code plugin (3.1.1, current as of 2026-10-18) configures it with
ModelContextProtocol.GenerateClientConfig. Stacking Game Studios, BpGeneratorUltimate, and Epic MCP in front of the first C# Actor adds a second product before the spike. Fix: remove the agent kit from M0 and M1. Enable the built-in Unreal MCP when an agent needs the editor.
No [VERIFY] tags in the file. No C# blocks, citations, or diagrams to check.