# ERROR: There can be only one Game target per project

**URL:** <https://forums.unrealengine.com/t/error-there-can-be-only-one-game-target-per-project/467547>\
**Category:** Community & Industry Discussion\
**Tags:** target, error, unreal-engine, question\
**Created:** [July 2, 2020, 8:11am UTC](https://forums.unrealengine.com/t/error-there-can-be-only-one-game-target-per-project/467547 "2020-07-02T08:11:54Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c42195ce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c42195ce](https://forums.unrealengine.com/u/anonymous_user_c42195ce)\
**Post date:** [July 2, 2020, 8:11am UTC](https://forums.unrealengine.com/t/error-there-can-be-only-one-game-target-per-project/467547/1 "2020-07-02T08:11:54Z")

</div>

Hello Everybody

Has somebody experienced this log error? i’m not able to package the project.

I found this post but the procedure is not clear.

[https://forums.unrealengine.com/development-discussion/content-creation/1629351-there-can-be-only-one-game-target-per-project](https://forums.unrealengine.com/development-discussion/content-creation/1629351-there-can-be-only-one-game-target-per-project)

Thanks in advance for your help! 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c42195ce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c42195ce](https://forums.unrealengine.com/u/anonymous_user_c42195ce)\
**Post date:** [July 2, 2020, 2:25pm UTC](https://forums.unrealengine.com/t/error-there-can-be-only-one-game-target-per-project/467547/2 "2020-07-02T14:25:35Z")

</div>

![305993-error.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/a/65a29c9999e6c8b9dd6cacca1452ed5e963770d5.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c42195ce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c42195ce](https://forums.unrealengine.com/u/anonymous_user_c42195ce)\
**Post date:** [July 2, 2020, 2:25pm UTC](https://forums.unrealengine.com/t/error-there-can-be-only-one-game-target-per-project/467547/3 "2020-07-02T14:25:47Z")

</div>

Problem solved…all was in the link i have posted

---

<div class="post-metadata">

**Author:** ![ViceVersa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ViceVersa](https://forums.unrealengine.com/u/ViceVersa)\
**Post date:** [January 1, 2021, 7:02pm UTC](https://forums.unrealengine.com/t/error-there-can-be-only-one-game-target-per-project/467547/4 "2021-01-01T19:02:32Z")

</div>

that link doesnt work, how did you fix this?

---

<div class="post-metadata">

**Author:** ![Patrick.O](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/patrick.o/32/1007161_2.png) [@Patrick.O](https://forums.unrealengine.com/u/Patrick.O)\
**Post date:** [March 24, 2021, 9:12pm UTC](https://forums.unrealengine.com/t/error-there-can-be-only-one-game-target-per-project/467547/5 "2021-03-24T21:12:46Z")

</div>

It’s because you probably renamed your .uproject file at some point.

Go to \*_[PROJECT NAME]\Intermediate\Source\*_ and delete all the files that start with your old project name and keep only the files that start with your new project name.

---

<div class="post-metadata">

**Author:** ![C.Farrell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@C.Farrell](https://forums.unrealengine.com/u/C.Farrell)\
**Post date:** [May 11, 2021, 5:37am UTC](https://forums.unrealengine.com/t/error-there-can-be-only-one-game-target-per-project/467547/6 "2021-05-11T05:37:52Z")

</div>

Thank you! I duplicated a project to make different adjustments and had this error - It is all fixed now.

---

<div class="post-metadata">

**Author:** ![UNEAKDAWG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UNEAKDAWG](https://forums.unrealengine.com/u/UNEAKDAWG)\
**Post date:** [September 14, 2021, 2:12pm UTC](https://forums.unrealengine.com/t/error-there-can-be-only-one-game-target-per-project/467547/7 "2021-09-14T14:12:20Z")

</div>

I deleted intermediate folder then opened binary folder and renamed all the beginning files there with my game name.

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [October 16, 2023, 11:34am UTC](https://forums.unrealengine.com/t/error-there-can-be-only-one-game-target-per-project/467547/8 "2023-10-16T11:34:41Z")

</div>

You need to delete the Intermediate folder in your Project Folder. It’s got a reference to the old name.

---

<div class="post-metadata">

**Author:** ![NJProd1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NJProd1](https://forums.unrealengine.com/u/NJProd1)\
**Post date:** [March 6, 2024, 6:51am UTC](https://forums.unrealengine.com/t/error-there-can-be-only-one-game-target-per-project/467547/9 "2024-03-06T06:51:07Z")

</div>

I found the solution to this error. For me, it was caused by me renaming the project, which made it create duplicate .Build.cs, .cpp, .target.cs files under the new name.

I renamed everything back to the original names, then removed the duplicate .Build.cs, .cpp, .target.cs files that are located in the “source” folder (saved these just in case).

After that, it solved the problem.
