# Lyra project - Multiple game targets found for project. can't package/build the game - what do?

**URL:** <https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, UE5-0, Packaging, packaging-projects, question\
**Created:** [April 12, 2022, 11:44pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468 "2022-04-12T23:44:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![dorusoftware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dorusoftware](https://forums.unrealengine.com/u/dorusoftware)\
**Post date:** [April 12, 2022, 11:44pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/1 "2022-04-12T23:44:30Z")

</div>

Downloaded the Lyra project as it is, it works, all good. I’m trying to build/package the game for windows. Got some issues where unreal didn’t found the windows SDK but I’ve resolved that by updating visual studio and adding the SDKs for windows 10 and 11

Now I get this error

> ERROR: Multiple game targets found for project. Specify the desired target using the -Target=… argument.  
> UATHelper: Packaging (Windows): Could be “LyraGame” (E:\UNREAL\LyraStarterGame\Source\LyraGame.Target.cs)  
> UATHelper: Packaging (Windows): Could be “LyraGameEOS” (E:\UNREAL\LyraStarterGame\Source\LyraGameEOS.Target.cs)

I have no idea what, how and where to add this “argument” anyone have any idea how to fix this?

Deleting the “Intermediate” folder did nothing to fix the issue as suggested on a different thread for some similar issue.

---

<div class="post-metadata">

**Author:** ![dorusoftware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dorusoftware](https://forums.unrealengine.com/u/dorusoftware)\
**Post date:** [April 13, 2022, 3:05pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/2 "2022-04-13T15:05:21Z")

</div>

I’ve fixed this by deleting the “Intermediate” folder again AND restarting unreal. Worked this time. Don’t know how to delete or close this thread

---

<div class="post-metadata">

**Author:** ![3L\_B0La1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3L\_B0La1](https://forums.unrealengine.com/u/3L_B0La1)\
**Post date:** [April 13, 2022, 4:41pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/3 "2022-04-13T16:41:25Z")

</div>

could you specify? im having the same problem when packaging for windows

---

<div class="post-metadata">

**Author:** ![dorusoftware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dorusoftware](https://forums.unrealengine.com/u/dorusoftware)\
**Post date:** [April 13, 2022, 5:36pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/4 "2022-04-13T17:36:08Z")

</div>

Ok so first you need to have your visual studio 2019 up to date and have the sdk installed as mentioned in this link (for windows part)

> **[SDK Not Setup UE5 - Code Professionally](https://www.codeprofessionally.com/2022/03/sdk-not-setup-ue5.html)**
>
> \- to fix SDK Not Setup in UE5 you must fix 'dotnet' is not recognized as an internal or external command UE5 .

make sure to have the windows 10 and 11 sdks

on that page just the part from " Fix SDK Not Setup UE5 For Packaging to Windows" not everything

then go to LyraStarterGame folder and move/delete the Intermediate folder

then open the project and select the Refresh Platform Status (is in the build menu at top of unreal)

One last thing I’ve did on top of this is to unlock the editor from the firewall, for some reason the editor was not able to go online. Not sure if this have anything to do but as last resort you can try it.

after that it worked. the game built successfully and works perfect. quite nice actually. really like it. trying to figure out what is what inside right now 🙂

also I’ve found this link about the project

> **[Lyra Sample Game](https://docs.unrealengine.com/5.0/en-US/lyra-sample-game-in-unreal-engine/)**
>
> Explore how to develop projects in UE5 using techniques from the Lyra Sample Game.

---

<div class="post-metadata">

**Author:** ![3L\_B0La1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3L\_B0La1](https://forums.unrealengine.com/u/3L_B0La1)\
**Post date:** [April 13, 2022, 7:37pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/5 "2022-04-13T19:37:41Z")

</div>

Perfect, thankyou! i know it doesnt have to do with anything you posted in the thread but after doing what you said i got this error:}

_\> UATHelper: Packaging (Windows): WARNING: LyraGameEOS and dynamic target options are disabled when packaging from an installed version of the engine_  
_\> UATHelper: Packaging (Windows): Compiling GameFeaturePlugins in branch ++UE5+Release-5.0_  
_\> PackagingResults: Warning: LyraGameEOS and dynamic target options are disabled when packaging from an installed version of the engine_  
_\> UATHelper: Packaging (Windows): ERROR: Multiple game targets found for project. Specify the desired target using the -Target=… argument._  
_\> UATHelper: Packaging (Windows): Could be “LyraGame” (D:\UE\_5.0\xxx\Source\LyraGame.Target.cs)_  
_\> UATHelper: Packaging (Windows): Could be “LyraGameEOS” (D:\UE\_5.0\xxx\Source\LyraGameEOS.Target.cs)_  
_\> UATHelper: Packaging (Windows): (see C:\Users\Administrador\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE\_5.0\Log.txt for full exception trace)_  
_\> PackagingResults: Error: Multiple game targets found for project. Specify the desired target using the -Target=… argument._  
_\> UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 3s_  
_\> UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=1 (Error\_Unknown)_  
_\> UATHelper: Packaging (Windows): BUILD FAILED_

Any way you can help with this?? thanks in advance

---

<div class="post-metadata">

**Author:** ![dorusoftware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dorusoftware](https://forums.unrealengine.com/u/dorusoftware)\
**Post date:** [April 13, 2022, 8:00pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/6 "2022-04-13T20:00:52Z")

</div>

Now you need to delete the “Intermediate” folder and restart the editor reload the project.

then it works

---

<div class="post-metadata">

**Author:** ![kdodman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kdodman](https://forums.unrealengine.com/u/kdodman)\
**Post date:** [April 23, 2022, 4:09pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/7 "2022-04-23T16:09:44Z")

</div>

I’m trying to build from the editor and cant get past these errors. Im a UE newb tho, so not sure i’m doing it right.

Win 11 SDK installed, I goto Platforms then Windows and Package Project or Cook Project and get this

UATHelper: Cooking (Windows): Setting up ProjectParams for E:-=Projects\Unreal\Samples\LyraStarterGame\LyraStarterGame.uproject  
UATHelper: Cooking (Windows): **WARNING: LyraGameEOS and dynamic target options are disabled when packaging from an installed version of the engine**  
PackagingResults: **Warning: LyraGameEOS and dynamic target options are disabled when packaging from an installed version of the engine**  
UATHelper: Cooking (Windows): Compiling GameFeaturePlugins in branch ++UE5+Release-5.0  
UATHelper: Cooking (Windows): **ERROR: Multiple game targets found for project. Specify the desired target using the -Target=… argument.**  
UATHelper: Cooking (Windows): Could be “LyraGame” (E:-=Projects\Unreal\Samples\LyraStarterGame\Source\LyraGame.Target.cs)  
UATHelper: Cooking (Windows): Could be “LyraGameEOS” (E:-=Projects\Unreal\Samples\LyraStarterGame\Source\LyraGameEOS.Target.cs)  
UATHelper: Cooking (Windows): (see C:\Users\kendo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+UE\_5.0\Log.txt for full exception trace)  
PackagingResults: Error: Multiple game targets found for project. Specify the desired target using the -Target=… argument.  
UATHelper: Cooking (Windows): AutomationTool executed for 0h 0m 1s  
UATHelper: Cooking (Windows): AutomationTool exiting with ExitCode=1 (Error\_Unknown)  
UATHelper: Cooking (Windows): BUILD FAILED

---

<div class="post-metadata">

**Author:** ![dorusoftware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dorusoftware](https://forums.unrealengine.com/u/dorusoftware)\
**Post date:** [April 23, 2022, 5:45pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/8 "2022-04-23T17:45:02Z")

</div>

The solution is already posted but i think it may not be simple for a begginer to implement.

you are saying you have installed windows 11 sdk, what about the windows 10 sdk?

which of the various steps above you have done?

---

<div class="post-metadata">

**Author:** ![kdodman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kdodman](https://forums.unrealengine.com/u/kdodman)\
**Post date:** [April 24, 2022, 7:46pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/9 "2022-04-24T19:46:00Z")

</div>

Went though every step I really feel like its a simple issue like I’m not setting the build target somewhere.

LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ““E:/UE\_5.0/Engine/Build/BatchFiles/RunUAT.bat” -ScriptsForProject=“E:/-=Projects/Unreal/Samples/LyraStarterGame/LyraStarterGame.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=58308 -project=“E:/-=Projects/Unreal/Samples/LyraStarterGame/LyraStarterGame.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“E:/-=Projects/Unreal/Samples/LyraStarterGame/LyraStarterGame.uproject” -unrealexe=“E:\UE\_5.0\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Wi  
n64 -ddc=InstalledDerivedDataBackendGraph -installed -stage -archive -package -clean -compressed -iostore -pak -prereqs -archivedirectory=“E:/-=Projects/Unreal/Samples/Lyra” -distribution” -nocompile ]

there is no -Target= in that command

---

<div class="post-metadata">

**Author:** ![dorusoftware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dorusoftware](https://forums.unrealengine.com/u/dorusoftware)\
**Post date:** [April 25, 2022, 7:54pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/10 "2022-04-25T19:54:02Z")

</div>

well I’ve asked \*what" steps you took

---

<div class="post-metadata">

**Author:** ![3am7ab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3am7ab](https://forums.unrealengine.com/u/3am7ab)\
**Post date:** [May 2, 2022, 9:29pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/11 "2022-05-02T21:29:29Z")

</div>

#dorusoftware I had a problem similiar like that and your way worked well!  
Thanks

---

<div class="post-metadata">

**Author:** ![DesART](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DesART](https://forums.unrealengine.com/u/DesART)\
**Post date:** [May 7, 2022, 4:13pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/12 "2022-05-07T16:13:04Z")

</div>

Hi, DON’T delete the Intermediate folder. This error comes from the RENAMING of your project. Just go to the “Source” folder and delete all “LyraGameEOS.Target.cs” (E:\UNREAL\LyraStarterGame\Source\LyraGameEOS.Target.cs) As I understood your NEW project NAME is “LyraGame”. If VS then VS deleting operation and hold the ONE which is your NEW Project NAME!  
I hope it will help you.

---

<div class="post-metadata">

**Author:** ![dorusoftware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dorusoftware](https://forums.unrealengine.com/u/dorusoftware)\
**Post date:** [May 8, 2022, 6:42pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/13 "2022-05-08T18:42:03Z")

</div>

no, this is not correct, don’t do this

this lyra project contains different code/modules that can be build separately if one wants to do that.

you can build single player games,

you can also build multiplayer games which are split in two parts.

One build will create the files the user downloads and a second build will create files that go on the server. That second part is the EOS you have renamed

The “EOS” part from that file stands for Epic Online Services

> **[Epic Online Services | Services](https://dev.epicgames.com/en-US/services)**
>
> Scale your game and deliver the next-generation of connected and immersive social gaming experiences using our fully accessible and open service.

You are just breaking the project by renaming that file as you will have a bad time trying to configure the project to build for multiplayer if you need this

Epic was a bit tricky with this project as is not a project for beginners. Is quite complex. Is good because it shows you a lot of stuff but the lack of tutorials for now is a downsize.

Also, this thread deal with only managing to successfully build the project if you only want to use blueprints.

There are additional steps to follow to have the project open correctly inside Visual Studio and be able to edit and change the code behind the project

---

<div class="post-metadata">

**Author:** ![anon97903996](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon97903996](https://forums.unrealengine.com/u/anon97903996)\
**Post date:** [May 15, 2022, 10:19am UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/14 "2022-05-15T10:19:00Z")

</div>

Delete the intermediate folder in your Project from[Window Explorer] and restart the engine!

---

<div class="post-metadata">

**Author:** ![Kaotix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kaotix](https://forums.unrealengine.com/u/Kaotix)\
**Post date:** [July 12, 2022, 5:04pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/15 "2022-07-12T17:04:20Z")

</div>

I too am getting this issue. I have done the steps listed in this post. And still I get the same error. Am using a source built engine. But yes I have all the necessary sdk’s installed. When I delete the Intermediate folder, I basically have to go and recompile the project in VS before I can Open it up again. So, I dont think deleting the folder is the solution. There must be somewhere you can enter -Target=LyraGameEOS in some command line argument area. I just dont know where that is. I placed it inside the Additional Command Line Parameters within the Package Launcher… yet it does not help. Why? What do I do?

---

<div class="post-metadata">

**Author:** ![dorusoftware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dorusoftware](https://forums.unrealengine.com/u/dorusoftware)\
**Post date:** [July 12, 2022, 7:38pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/16 "2022-07-12T19:38:43Z")

</div>

You are trying to access the Lyra project source code?

The steps in this thread fixes building the project as blueprint. You need to follow the steps I’ve posted NOT what other people have posted as there are a lot of wrong information. Ignore those posts use only the information from my posts.

Once you get them all right you can build the project as it is without changing any setting. It will build the full game and will work on your computer.

Once you have it working like this there are additional steps to be done to access the game source code. because there are a lot of C++ files that are used to drive the game. Most of the blueprints in the project have C++ as parents.

I’ve build the project successfully both as a blueprint and as C++ project but you need to get all the steps right.

To have the C++ source code, after you have build it successfully as blueprint. (the steps above) then you go to the Lyra folder and delete the following folders (if exists)

.vs, Binaries, Build, Intermediate, Saved

then you double click on LyraStarterGame.uproject you get a message that stuff needs to be build because is missing. You click OK and let it do its stuff. It will appear that nothing is done, no window no nothing on screen, you will let it be as much as it takes (it may take some time). Don’t double click or anything till the editor will open with the project.

Then you close the editor and the project. Right click on LyraStarterGame.uproject and chose Generate Visual studio project files. Again it will take some time. When Visual Studio will open (I don’t recall if it does this automatically, I think it opens automatically) DO NOT TOUCH anything. there will appear to be a lot of errors and stuff. is notmal, visual studio is linking stuff behind and it takes a lot of time. You can click on the small spining icon in the left down side of visual studio to see what its doing.

After it finishes everything will be ok no errors, you can see the lyra source code, you can build the game everything.

**You need to do all the steps I’ve posted and ignore others posts in this thread** really

---

<div class="post-metadata">

**Author:** ![dorusoftware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dorusoftware](https://forums.unrealengine.com/u/dorusoftware)\
**Post date:** [July 12, 2022, 7:42pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/17 "2022-07-12T19:42:12Z")

</div>

proof that it works. first screen shows the C++ files. second screen one of theses c++ files open in visual studio

 ![01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/4/ef47e9880232806be6f9ccd81719756fdf31334f.png)  
 ![02](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/a/38aa12ac2c9395ff184221a6a816b439fdb016a3.png)

---

<div class="post-metadata">

**Author:** ![Kaotix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kaotix](https://forums.unrealengine.com/u/Kaotix)\
**Post date:** [July 12, 2022, 7:55pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/18 "2022-07-12T19:55:58Z")

</div>

Do you use the Project Launcher found from Tools → Project Launcher to package the project? or do you package with Platform button? As in Platform → Windows make sure you have selected LyraGameEOS there. Then go to Platform-\>Windows-\>Package Project.

I was using the Project Launcher and it seems to not be able to set the Target there… but just tried using the Platform Button it is still working on stuff at the moment but seems like it will work this way.

---

<div class="post-metadata">

**Author:** ![dorusoftware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dorusoftware](https://forums.unrealengine.com/u/dorusoftware)\
**Post date:** [July 26, 2022, 6:50am UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/19 "2022-07-26T06:50:06Z")

</div>

I’ve used the platform build for windows which appear to build the single player version

---

<div class="post-metadata">

**Author:** ![ArtFix-1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArtFix-1](https://forums.unrealengine.com/u/ArtFix-1)\
**Post date:** [August 13, 2022, 9:59pm UTC](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468/20 "2022-08-13T21:59:58Z")

</div>

is there a guide how to make lyra project to work with EOS from start to end ? because they are all broken and try so many and still nothing … thank you

[Next page](https://forums.unrealengine.com/t/lyra-project-multiple-game-targets-found-for-project-cant-package-build-the-game-what-do/526468.md?page=2)
