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.
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”.
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.
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:
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!
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.