[PCG] Spawn actor fails in game mode

Hello,

I have discovered something and I’m unsure if it’s a bug in the engine or just me using this feature the wrong way.
I narrowed it down to the Spawn Actor node in PCG Graph while starting the editor in game mode.
I am using UE 5.5.3

What I am trying to do
I am trying to start the editor in the command line in game mode (with the -game flag). It crashes with the following error:
[2025.03.20-13.15.34:195][ 0]LogWindows: Error: appError called: Assertion failed: GEditor [File:D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Subsystems\ActorEditorContextSubsystem.cpp] [Line: 15]

Repro steps
Open a new blank project.
Create a PCG Instance with a grid and spawn actor (point light for example)


Drop the graph in the level (so far it should work and display the lights)
Cleanup the graph, save and close the editor.

Start the editor through command line with the -game flag (for example: C:\Program Files\Epic Games\UE_5.5\Engine\Binaries\Win64> .\UnrealEditor-Cmd.exe "C:\Users\Damie\Documents\Unreal Projects\PCGActorSpawn\PCGActorSpawn.uproject" -game

Link to project
To facilitate bug reproduction, here is the link to the project:

It seems that it’s really the spawn action that is an issue because if you don’t cleanup the graph, it start like intended.

Any help or feedback is highly welcomed because this is a blocking issue for me.

I’m still stuck with this, anyone has any insight ?
I’ll take even breadcrumbs of information at this point :face_holding_back_tears: