How to handle unexpected uasset changes when Git commiting?

This aspect of Unreal makes development a pain.

I look at the file changes before I commit my changes. But I frequently see unexpected changes to asset files that I don’t recall modifying, because the Editor automatically and silent modifies them for one reason or another. For example, I just found that when a sync marker is added to an animation sequence, any associated blend spaces gets automatically modified. And sometimes a Level asset gets modified though I didn’t touch it.

This is a problem because there is no way to diff these files to see what changes have been made. So I can’t tell whether it’s a legit change I should commit or an accidentally change I should rollback.

Is there a solution to this?

1 Like

You can actually diff the blueprints if you opt to intergrate git/svn/perforce into the UE Editor…
So this way, you can diff the bp to see if there are actually changes worth to commit…

Correct me if I’m wrong but you can’t see the diff for all types of blueprints, like a Level or a blend space.