# Can't launch from Visual Studio

**URL:** <https://forums.unrealengine.com/t/cant-launch-from-visual-studio/280877>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, crash, Visual-Studio, UE4, CPP, question\
**Created:** [April 17, 2014, 12:59pm UTC](https://forums.unrealengine.com/t/cant-launch-from-visual-studio/280877 "2014-04-17T12:59:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_8943aceb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8943aceb](https://forums.unrealengine.com/u/anonymous_user_8943aceb)\
**Post date:** [April 17, 2014, 12:59pm UTC](https://forums.unrealengine.com/t/cant-launch-from-visual-studio/280877/1 "2014-04-17T12:59:33Z")

</div>

I had some issues with the editor crashing on launch, so I tried to delete some of the cached files. I deleted the folders Binaries, DerivedDataCache and Intermediate. The editor didn’t launch at all after this, so I restored all of those folders. Now, in Visual Basic the Launch Windows Debugger button disappeared and changed into an Attach… button:

Instead of the usual:

How can I restore this?

---

<div class="post-metadata">

**Author:** ![EF](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EF](https://forums.unrealengine.com/u/EF)\
**Post date:** [April 17, 2014, 1:08pm UTC](https://forums.unrealengine.com/t/cant-launch-from-visual-studio/280877/2 "2014-04-17T13:08:52Z")

</div>

In solution explorer, try setting UE4 as startup project.  
Right click on Engine/UE4 and select “Set as startup project”.

An Attach option is visible when your startup project type is something other than executable(a dll for example).

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8943aceb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8943aceb](https://forums.unrealengine.com/u/anonymous_user_8943aceb)\
**Post date:** [April 17, 2014, 1:10pm UTC](https://forums.unrealengine.com/t/cant-launch-from-visual-studio/280877/3 "2014-04-17T13:10:13Z")

</div>

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7e000778](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7e000778](https://forums.unrealengine.com/u/anonymous_user_7e000778)\
**Post date:** [November 12, 2014, 12:17pm UTC](https://forums.unrealengine.com/t/cant-launch-from-visual-studio/280877/4 "2014-11-12T12:17:48Z")

</div>

genius! ty

---

<div class="post-metadata">

**Author:** ![Nitha\_Heoz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nitha\_Heoz](https://forums.unrealengine.com/u/Nitha_Heoz)\
**Post date:** [February 27, 2025, 3:46pm UTC](https://forums.unrealengine.com/t/cant-launch-from-visual-studio/280877/5 "2025-02-27T15:46:04Z")

</div>

Set as startup project worked for me too, but not in UE5 inside the Engine folder, but in the file with the name of your project, under the Game folder.

 ![Screenshot_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/7/6c7a307079e66a3abde0abadd41fb0517a0fda3e.png)
