# Blueprints are getting corrupted after merging it into master branch on github

**URL:** <https://forums.unrealengine.com/t/blueprints-are-getting-corrupted-after-merging-it-into-master-branch-on-github/605686>\
**Category:** Blueprint\
**Tags:** unreal-engine, GitHub, UE5-0, Blueprint, question\
**Created:** [July 15, 2022, 3:43pm UTC](https://forums.unrealengine.com/t/blueprints-are-getting-corrupted-after-merging-it-into-master-branch-on-github/605686 "2022-07-15T15:43:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![beetel\_007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beetel\_007](https://forums.unrealengine.com/u/beetel_007)\
**Post date:** [July 15, 2022, 3:43pm UTC](https://forums.unrealengine.com/t/blueprints-are-getting-corrupted-after-merging-it-into-master-branch-on-github/605686/1 "2022-07-15T15:43:03Z")

</div>

Why are my blueprints getting compile errors if I try to merge my branch with the master branch. They are working fine on my branch but after merging they are getting compile errors like can’t get self reference etc.

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [July 15, 2022, 4:40pm UTC](https://forums.unrealengine.com/t/blueprints-are-getting-corrupted-after-merging-it-into-master-branch-on-github/605686/2 "2022-07-15T16:40:23Z")

</div>

Presumably someone else also edited those blueprints, and the merged version of those blueprints isn’t valid.

Also, in general, you’ll want to “rebase” not “merge” when using git, but hopefully you’re already doing that.

---

<div class="post-metadata">

**Author:** ![Schafknuddler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Schafknuddler](https://forums.unrealengine.com/u/Schafknuddler)\
**Post date:** [May 12, 2025, 1:41pm UTC](https://forums.unrealengine.com/t/blueprints-are-getting-corrupted-after-merging-it-into-master-branch-on-github/605686/3 "2025-05-12T13:41:38Z")

</div>

Why use Git Rebase not merge? Doesn’t that remove knowledge about the branch history? Maybe sometimes it makes sense, but generally you wanna merge branches in order to be able to follow what happened, right?
