5.0.2 build source

Is it normal ?

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

Thanks i downgrade 5.0.1 :slight_smile:

How do you downgrade? I upgraded to 5.0.2 and now every time I hit Play, UE crashes.

hi @Deformiter,

The way to go back is quite complicated.
it’s hugely complex and the damage when wrong is immense.
git checkout - How do I revert a Git repository to a previous commit? - Stack Overflow

In the section " Hard delete unpublished commits"

git reset --hard 46544fa
# It also takes ranges. This will revert the last two commits:
git revert HEAD~2..HEAD

You can download the old version 5.0.1 at

Release Unreal Engine 5.0.1 · EpicGames/UnrealEngine (github.com)
But its a zip, not a Git Archive repository and I accept no responsibility for use of the above commands

2 Likes