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:

  1. Open the .uproject file in my game folder, while the Engine folder lives one level above.
  2. 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.

0
5 comments

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.

0

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.

0

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.

0

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.

0

I confirm that at commit 585df42 what you described works.
Ran the following commands:

git clone https://github.com/EpicGames/UnrealEngine.git --depth=1
cd UnrealEngine
./Setup.command

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. 

1

Please sign in to leave a comment.