5.0.2 build source

Hi @DarkRod ,
The answer to the problems is here
Unhandled exception when building blank project: Version (“1.2”) is not supported version - Unreal Engine / Programming & Scripting - Unreal Engine Forums

Since then I had trouble upgrading to 5.0.3 so here’s how in Git Bash
Add a new remote
$ git remote add remV22503 https://github.com/EpicGames/UnrealEngine.git

The next command gets the pull request and uses the temporary branch ‘UEvs2200’ to merge the pull request into the repository.

$ git pull remV22503 pull/9067/head:UEvs2200

To upgrade to 5.0.3 with the current patched version

$ git pull v22503 pull/9029/head:UEvs2200

Fix 1.2 dependancy cache conflict as below

$ git add Engine/Source/Programs/UnrealBuildTool/System/CppDependencyCache.cs

$ git merge --continue

A notepad window will open. In the first line add 5.0.3 to look like

Merge 5.0.3 commit ‘refs/pull/9029/head’ of https://github.com/EpicGames/UnrealEngine

now File → Save and then File ->Exit
Remember to Clean and Build the repository and you will need this patch pulled for every new source download.

$ git status
Look for

nothing to commit, working tree clean

2 Likes