UE5 Sharing the project in C++ in team

A friend and I are developing a game in Unreal Engine, I work as a programmer and programming in C++ and he does 3D models.
We have a repository on Github, and we upload our work there, me the classes in C++ and him the models.
Recently we did a merge of our changes into a single branch, in my case the project runs correctly but in my friend’s case it does not and he gets the following error:

unreal engine the following modules are missing or built with a different engine version.

I have read that this is due to the lack of compiled code, so my question is how can I make the project available to my friend so that he has all my code changes but does not have to download Visual Studio to compile the code?

You can modify .gitignore to include compiled editor binaries in the repository.

Just be aware that it will increase repo size, and github has limits.

Try something like this in .gitignore, then the files should become visible to source control so you can add & commit them.
Change ProjectName to your project name.
(this is for UE5)

# =========================
# Allow Editor Binaries
# =========================
Binaries/*
!Binaries/Win64
Binaries/Win64/*
!Binaries/Win64/ProjectName.target
!Binaries/Win64/UnrealEditor.modules
!Binaries/Win64/UnrealEditor-ProjectName.dll
!Plugins/*/Binaries
Plugins/*/Binaries/*
!Plugins/*/Binaries/Win64
Plugins/*/Binaries/Win64/*
!Plugins/*/Binaries/Win64/UnrealEditor-*.dll
!Plugins/*/Binaries/Win64/UnrealEditor.modules

With all those files included, your friend should be able to boot up editor without compiling.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.