Download

I can't Package My Game !! :/

I try packaging the game to test and run, as well as put out a demo for a friend to test and give feedback on but I get this in the log
Running AutomationTool…
Parsing command line: -ScriptsForProject=“D:/Unreal Projects/TheDiscoveryOfSH/DiscoveryOfSH.uproject” BuildCookRun -project=“D:/Unreal Projects/GAMENAME/DiscoveryOfSH.uproject” -noP4 -clientconfig=Development -serverconfig=Development -nocompile -nocompileeditor -installed -ue4exe=S:\EpicGames\UE_4.25\Engine\Binaries\Win64\UE4Editor-Cmd.exe -utf8output -platform=Win64 -targetplatform=Win64 -ini:Game:[/Script/UnrealEd.ProjectPackagingSettings]:BlueprintNativizationMethod=Disabled -build -cookonthefly -map= -compressed -stage -deploy -cmdline=" -Messaging" -device=WindowsNoEditor@DESKTOP-IV7QPGK -addcmdline="-SessionId=A44D607F45B132584245F1A98B1EC5EF -SessionOwner=‘KiAxF’ -SessionName=‘DESKTOP-IV7QPGK’ " -run
Setting up ProjectParams for D:\Unreal Projects\TheDiscoveryOfSH\DiscoveryOfSH.uproject
ERROR: There can be only one Game target per project.
(see C:\Users\KiAxF\AppData\Roaming\Unreal Engine\AutomationTool\Logs\S+EpicGames+UE_4.25\Log.txt for full exception trace)
AutomationTool exiting with ExitCode=1 (Error_Unknown)
BUILD FAILED

Any Help??

Go to your “Intermediate\Source” folder and delete the files within. Save/Rebuild/Launch your project again

Also, try saving your build to a brand new folder.