Unable to instantiate module 'UnrealEd': Unable to instantiate UnrealEd module for non-editor targets

Hello! When packaging I got this ExitCode=6:

Unable to instantiate module ‘UnrealEd’: Unable to instantiate UnrealEd module for non-editor targets.
(referenced via Target → MyVehicle.Build.cs → GraphEditor.Build.cs → EditorWidgets.Build.cs)

This is the MyVehicle.Build.cs

This is MyVehicle.uproject


This is GraphEditor.Build.cs


This is EditorWidgets.Build.cs

Any help on point me out what I can do? Perhaps create a module for the engine, like someone else said? I’m new to UE, and things getting harder on cpp…
About the project, is a vehicle from the city sample migrated to an UE5 vehicle template, everythings looks ok, it compiles without errors in visual studio and in UE5 live coding.

I’m having the same problem too. Did u found any solution so far?

Nope, I haven’t figure it out yet…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.