The Epic Games Launcher no longer seems to properly set .uproject associations on a fresh install on Windows 10. Twice in the last week I have done a fresh Windows 10 install on two different machines, and the results have been the same.
This is being tested with Windows Version 10.0.19043 (21H1)
Steps to Reproduce:
- Install/Reset Windows 10 on a machine, making sure the drive has been formatted to start with a blank registry.
- Install the Epic Games Launcher
- Install any version of the engine.
Project associations will not be properly set at any point, you will be unable to open .uproject files and the context-menu items will be missing.
You will not find any associations in the Registry for a .uproject file. There are two steps you must take to resolve this.
- Navigate to …/Epic Games/Launcher/Engine/Binaries/Win64/UnrealVersionSelector.exe
- Run the .exe with the additional command-line argument /fileassociations
- Run the shortcut as an administrator (to avoid a “Couldn’t Update File Associations” error).
My first attempt at this resulted in all of the file associations still not being set correctly, because the path was incorrect in the registry. The second attempt on another machine was successful. If you need to change the paths, you must navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Unreal.ProjectFile
And change the path of the keys in both the root folder and all sub-folders.