I am still plagued by this also. I have no idea why this happens but it does occasionally. Recently it started and affects all projects, all duplicated projects, and new projects.
I cannot fix it by changing file associations or changing the engine association from the Epic Launcher.
I also have tried verifying and reinstalling the engine and changing associations as well.
Lots of restarts and re-installs while changing settings and nothing seems to work.
I really don’t know what else to do.
I’m using Win10 Pro currently but I would also have this happen on Win7.
When you right-click on a UProject file, do you see an Open-With option in Win10?
(Along with Browse and ‘always use the selected program to open this kind of file’?)
Do you need to hold down left-shift to even see the Open-With option in Win10?
If none of that works, you’ll have to go digging around in the registry to fix it I fear.
BTW: Focus on UE4Editor.exe. Ignore anything with Launcher in the name especially.
The unreal version selector exists in my github builds of ue4 but even those .uproject files associated with it do not have the correct associations.
This has been happening occasionally to me for about a year and a half and there has never been a dependable way to prevent it from happening or fix it. Usually I am just stuck with work stoppages if I need to fix something and I can no longer build it VS. It would be great if those same right click commands where available from somewhere else (such as inside the epic game launcher) instead of just being so undependable.
I’ll probably just have to wait another week and keep messing around and it will magically return.
This is such a pain. I’m still stuck with it. I can do this fix to generate files and open the project from the engine launcher to change the engine. Anyone find any dependable fixes to make this system work?
Recently had to reinstall Windows. Installed UE4.13.2 to look at an older project I was working on. Everything worked flawlessly. Decided to downloaded the latest version and start a new project and it all worked fine, however, whenever I try to re-open the project from my Epic Games Launcher Library by double-clicking the project I get this error “This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel.”
I went into Default Programs and set the association to “C:\Program Files\Epic Games\UE_4.15\Engine\Binaries\Win64\UE4Editor.exe”. If I click on the .uproject in Explorer it works fine, but the Epic Games Launcher still gives me the same error. I tried restarting the launcher then I tried restarting Windows; no luck.
I found an answer elsewhere:
Take this file: “C:\Program Files (x86)\Epic Games\Launcher\Engine\Binaries\Win64\UnrealVersionSelector.exe”.
And paste it into “C:\Program Files\Epic Games\UE_4.15\Engine\Binaries\Win64” then double click it.
Hi all, I’m trying to generate visual studio files for my project, but the Unreal context menu items are not present.
Unfortunately this solution did not fix the issue for me… I’ve also tried manually running UBT on my project in order to generate the project files, but could not see any results from that.
Does anyone have any ideas? Thanks in advance.
Just a note to those that end up here due to the error “Couldn’t set association…” - this error occurred for me when there was a syntax error in the <projectName>.uproject file. In my particular case there was a comma missing in a list of parameters due to my own editing error. Since the uproject file gets generated and updated mostly by the engine this note is only relevant if you had edited the file manually and mistakenly. I bring it up because the error message is misleading in this particular case and sends you off in the wrong direction.