NetcodeUnitTest crashing on init

I’ve followed the instructions in the get started doc, I made a shortcut with target: UE4Editor.exe Mygame -run=NetcodeUnitTest.UnitTestCommandlet. But it keeps crashing and wouldn’t work.

I debugged it a little bit and it seems to be initializing as GameEngine, not EditorEngine. So when it tries to use GEditor, that’s uninitialized and causes crash. But I don’t know why it would start as GameEngine, WITH_EDITOR should be true right?

Any help is appreciated, thanks in advance