Help, when I try to launch, it fails and this comes up in the log:

LogPlayLevel: Running AutomationTool…
LogPlayLevel: Parsing command line: -ScriptsForProject=“D:/Users/Leo/Documents/Unreal Projects/Maingame/Maingame.uproject” BuildCookRun -project=“D:/Users/Leo/Documents/Unreal Projects/Maingame/Maingame.uproject” -noP4 -clientconfig=Development -serverconfig=Development -nocompile -nocompileeditor -installed -ue4exe=UE4Editor-Cmd.exe -utf8output -platform=Wi
n64 -targetplatform=Win64 -ini:Game:[/Script/UnrealEd.ProjectPackagingSettings]:BlueprintNativizationMethod=Disabled -map=/Game/MainMenu/MainMenu -skipcook -CookInEditor -iterativecooking -compressed -iterativedeploy -stage -deploy -cmdline="/Game/MainMenu/MainMenu -Messaging" -device=WindowsNoEditor@LAPTOP-UIL4SQL2 -addcmdline="-SessionId=61500D114CF51DC86C
4236BB2276FEE9 -SessionOwner=‘Leo’ -SessionName=‘Launch On Device’ " -run
LogPlayLevel: Setting up ProjectParams for D:\Users\Leo\Documents\Unreal Projects\Maingame\Maingame.uproject
LogPlayLevel: ********** STAGE COMMAND STARTED **********
LogPlayLevel: **

  • ERROR: Stage Failed. Missing receipt
    ‘Maingame.target’. Check that this
    target has been built.

**
LogPlayLevel: (see C:\Users\Leo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.18\UAT_Log.txt for full exception trace)
LogPlayLevel: AutomationTool exiting with ExitCode=103 (Error_MissingExecutable)
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 2.006285
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 0.000054
LogPlayLevel: BUILD FAILED
**

  • PackagingResults: Error: Launch
    failed! Missing UE4Game binary. You
    may have to build the UE4 project
    with your IDE. Alternatively, build
    using UnrealBuildTool with the
    commandline: UE4Game

**