Unable to build Ue4 4.25 c++ project unable to instantiate 'EnrealEd' for non editor targets

conveniently i have found the issue, there is no need for “UMGEditor” or “UMG” those can be removed…

seems i can only built for editor use, but i was in the ue4 spring jam and i tried literally everything and nothing worked, its a little upsetting but now i’m really wondering why this issue is a thing.

the issue i have is that my ue4 4.25 c++ project will not package because of this error: https://pastebin.com/H20VDYVH

from what i can tell the “UMGEditor” is the issue. i can package fine once removed but the game crashes upon trying to load any kind of umg.

"FileVersion": 3, "EngineAssociation": "4.25", "Category": "", "Description": "", "Modules": [ { "Name": "WIHISCFITT", "Type": "Runtime", "LoadingPhase": "Default", "AdditionalDependencies": [ "Engine", "UMGEditor", "UMG" ] } ],

I have no clue how to fix this and honestly makes me never want to use c++ in ue4 ever again…