git plugin 'Diff Against Depot' does not work on materials

If you rightclick a material in UE4 editor then you don’t get a diff if you choose “Diff Against Depot”. Instead it shows an error-message explaining “The currently set diff tool ‘p4merge.exe’ could not be run. Would you like to set a new diff tool?”

If you do the same on a blueprint then you get your diff on blueprint nodes.

Hi, I am the author of the UE4 Git plugin.

There is no visual diff tool for Materials in Unreal Engine 4, only for Blueprints. This is why the Editor is asking for a text diff tool; you have to either install the suggested free Perforce diff/merge tool, or use any other alternative (win merge, windiff, compare it, beyond compare…)

Visual diff for material graphs would be awesome, but require a new tool… Perhaps will I try to tackle that in the future!

Cheers!

3 Likes

Ok, thanks. I would give text-diff a try. Visual diff for material graphs (similar to blueprints) would make disentangle of material spaghetti lots easier.

Oh, that’s why, unfortunately, because a full diff tool could be awesome.

Hello from 5 years in the future – @SRombauts any chance you ever tried to tackle this problem? I feel it’s still a major point of friction in today’s development environments.

1 Like