Issue opening an Unreal project with engine source on macOS
I am currently experiencing issues trying to open an Unreal project in Rider (2024.3 EAP 6 D) on macOS (15.1.1). The project lives inside a cloned Unreal Engine repository. This is the folder structure expected to build and run an Unreal project on Windows.
I have tried opening in Rider two ways:
- Open the
.uproject
file in my game folder, while theEngine
folder lives one level above. - Use the GenerateProjectFiles.sh script provided and open the
UE5.sln
file created.
Neither of these methods yield the expected result. The first one throws an error when opening, saying solution load failed
and failed to locate Unreal Engine associated with the project file
. The second one is simply missing the targets to build the game and the editor.
Would love some help or directions to some documentation about this specific case.
Please sign in to leave a comment.
On Mac only the .uproject is supported. Have a try to open the project in Unreal Editor, then open the code files in Rider, ensure you have specified the “Rider Uproject” as the default UE code editor. To see if it can help to repair the broken .uproject file. See also in this article.
The quickest way is to load the game project from Epic Game Launcher, select the target engine version, open the game project in launcher could help to repair the .uproject.
Update the EngineAssociation could also resolve the issue, have a check on this thread.
Thanks for your answer, Tao. I think you missed an important aspect of my question, as I am talking about building both the game and the engine from scratch with Rider. Opening a project using an engine version installed with the Epic Game Launcher is indeed not an issue.
If you are attempting to build the engine, first refer to the guidance in UE repo, prepare the binaries. Then open the
Default.uprojectdirs
in Rider.The build configurations will be recognized in Rider, then you can run the “Engine” to build it.
I confirm that at commit
585df42
what you described works.Ran the following commands:
After that, I was able to open
Default.uprojectdirs
with Rider successfully.It is still not working for my project, but it now means the problem is on my side.
The key takeaway was to open
Default.uprojectdirs
with Rider.