# Forked, cloned, and built source. F5 gives "Unable to start debugging"

**URL:** <https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907>\
**Category:** Pipeline & Plugins\
**Tags:** source-code, unreal-engine, GitHub, Visual-Studio, question\
**Created:** [May 28, 2020, 4:55am UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907 "2020-05-28T04:55:46Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_cfdc89c91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cfdc89c91](https://forums.unrealengine.com/u/anonymous_user_cfdc89c91)\
**Post date:** [May 28, 2020, 4:55am UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/1 "2020-05-28T04:55:46Z")

</div>

I’m following the directions in README.md on the UnrealEngine github page. I’ve successfully forked, cloned, and cleanly compiled UE4, set the dropdown to “Development Editor”, Win64, and set the startup project to UE4, but when I try to run (F5) I get a Visual Studio dialog that says:

“Unable to start debugging. Check your debugger settings by opening project properties and navigating to ‘Configuration Properties–\>Debugging’”

I have reinstalled Visual Studio, and cloned a fresh repo but I still hit this. I’ve tried setting the config properties with no luck. I feel like I’m missing something basic here. The step after the compile in the directions just says to “press F5” (as do other similar tutorials), so this must work for everyone else.

What could I have misconfigured here?  
Thanks for the help.

---

<div class="post-metadata">

**Author:** ![irajsb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irajsb/32/740687_2.png) [@irajsb](https://forums.unrealengine.com/u/irajsb)\
**Post date:** [May 29, 2020, 3:08pm UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/2 "2020-05-29T15:08:25Z")

</div>

are u setting target to development editor x64 at top panel?

---

<div class="post-metadata">

**Author:** ![Jerry.Richards](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jerry.Richards](https://forums.unrealengine.com/u/Jerry.Richards)\
**Post date:** [May 29, 2020, 4:46pm UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/3 "2020-05-29T16:46:47Z")

</div>

I’ve hit this issue intermittently before and this may not be what is causing you problems. In Visual Studio, with Solution Explorer open, make sure that the correct project is set as the default. Right-mouse on UE4 and select “Set as Startup Project”.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cfdc89c91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cfdc89c91](https://forums.unrealengine.com/u/anonymous_user_cfdc89c91)\
**Post date:** [May 30, 2020, 3:07am UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/4 "2020-05-30T03:07:12Z")

</div>

Yes. Sorry, I should’ve included that info.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cfdc89c91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cfdc89c91](https://forums.unrealengine.com/u/anonymous_user_cfdc89c91)\
**Post date:** [May 30, 2020, 3:10am UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/5 "2020-05-30T03:10:38Z")

</div>

Thanks for the help, but it I had set it as startup project via right mouse button already. I thought that might’ve been the problem, but no luck.

---

<div class="post-metadata">

**Author:** ![codephunk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@codephunk](https://forums.unrealengine.com/u/codephunk)\
**Post date:** [July 17, 2020, 4:06pm UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/6 "2020-07-17T16:06:30Z")

</div>

I had the same problem and was going insane about it.  
But in my case the reason actually have been the Debug settings. I wonder why they are defaulted to a state where you can’t use the debugger. At least for me it was like that and I was using a fresh and clean VS 2017 install.

Anyway - after entering these settings it all worked: [c# - Cannot Debug in VS2017 with Windows 10 - Stack Overflow](https://stackoverflow.com/a/51943304/987589)

---

<div class="post-metadata">

**Author:** ![SH\_SWAT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SH\_SWAT](https://forums.unrealengine.com/u/SH_SWAT)\
**Post date:** [December 30, 2020, 9:30pm UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/7 "2020-12-30T21:30:56Z")

</div>

Thanks. same as you, when I compile engine first time, all debugger settings are blank and your link works for me

---

<div class="post-metadata">

**Author:** ![mm\_iclarke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mm\_iclarke](https://forums.unrealengine.com/u/mm_iclarke)\
**Post date:** [February 8, 2022, 4:52pm UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/8 "2022-02-08T16:52:42Z")

</div>

I received the same error when trying to run on the Switch using VS2019. For me, it turned out that installing the “VSI for NX” did not enable it. So I solved my issue from VS:

Extensions =\> Manage Extensions =\> Installed =\> NX Visual Studio Integration =\> Enable

Then I was golden.

---

<div class="post-metadata">

**Author:** ![mcd8604](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcd8604](https://forums.unrealengine.com/u/mcd8604)\
**Post date:** [June 12, 2022, 1:52pm UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/9 "2022-06-12T13:52:44Z")

</div>

Thank you for this simple advice! I didn’t even notice that my startup project got switched to the engine.

---

<div class="post-metadata">

**Author:** ![TRoman07](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TRoman07](https://forums.unrealengine.com/u/TRoman07)\
**Post date:** [March 22, 2023, 2:06am UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/10 "2023-03-22T02:06:30Z")

</div>

This has helped me.  
My situation was:  
I copies my entire project to external disk and copied it to another pc via it.  
Then after deleting Intermidiate, Saved, binaries and .sln project I then clicked on Generate visual studio project files. After that I also clicked on the Unreal Engine executable to run it and it requested to rebuild it which I allowed and the editor started.  
After that I opened the visual studio solution.  
When trying to then ctrl+F5 the project I had the encountered the Unable to start debugging error.  
So setting my project (the one that is under Games in the Solution Explorer) to Set as Startup Project" solved it!  
Thanks!

---

<div class="post-metadata">

**Author:** ![X-destroyer654](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@X-destroyer654](https://forums.unrealengine.com/u/X-destroyer654)\
**Post date:** [April 28, 2023, 7:08am UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/11 "2023-04-28T07:08:35Z")

</div>

Thank you very much for the help

---

<div class="post-metadata">

**Author:** ![Huncowboy1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Huncowboy1](https://forums.unrealengine.com/u/Huncowboy1)\
**Post date:** [May 12, 2023, 3:59pm UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/12 "2023-05-12T15:59:29Z")

</div>

This helped me too. I wish I had seen this before wasting 2-3 hours reinstalling VS. BTW for those new like me, to do this you open solution explorer: Right click project \> Configure startup project. \> Common Properties \> Startup Projects then there is a drop down to select your project.

---

<div class="post-metadata">

**Author:** ![VERcETTI\_00](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vercetti_00/32/709786_2.png) [@VERcETTI\_00](https://forums.unrealengine.com/u/VERcETTI_00)\
**Post date:** [June 2, 2023, 3:59am UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/13 "2023-06-02T03:59:08Z")

</div>

Worked!!! Thanks a lot

---

<div class="post-metadata">

**Author:** ![Ghostmoonk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ghostmoonk](https://forums.unrealengine.com/u/Ghostmoonk)\
**Post date:** [June 12, 2023, 9:35am UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/14 "2023-06-12T09:35:39Z")

</div>

I had to right click on the solution instead and set my project name as default startup and that solved my issue, thanks !

---

<div class="post-metadata">

**Author:** ![ErikPalencik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ErikPalencik](https://forums.unrealengine.com/u/ErikPalencik)\
**Post date:** [August 15, 2023, 7:25am UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/15 "2023-08-15T07:25:31Z")

</div>

had this problem too, I was changing to VS 2022 and startup project was EU5 , not mine, switching to helped.

---

<div class="post-metadata">

**Author:** ![SR-15](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sr-15/32/1082205_2.png) [@SR-15](https://forums.unrealengine.com/u/SR-15)\
**Post date:** [August 18, 2023, 7:35am UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/16 "2023-08-18T07:35:38Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/c/b0c4ed7bbea04bf0c2e4173c401184a1781a04fe.png)  
Thank you! Right clicking on My project Folder (Under Games ) and selecting “Set as Startup Project” Helped.

---

<div class="post-metadata">

**Author:** ![game\_dev\_master](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@game\_dev\_master](https://forums.unrealengine.com/u/game_dev_master)\
**Post date:** [December 7, 2024, 11:37pm UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/17 "2024-12-07T23:37:15Z")

</div>

that’s the correct answer, thanks a lot

---

<div class="post-metadata">

**Author:** ![Alanick85](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alanick85](https://forums.unrealengine.com/u/Alanick85)\
**Post date:** [February 20, 2025, 7:32pm UTC](https://forums.unrealengine.com/t/forked-cloned-and-built-source-f5-gives-unable-to-start-debugging/465907/18 "2025-02-20T19:32:04Z")

</div>

Thanks a lot Bro!
