Easy way to replace all references of a material?

So, since 4.11 i can no longer run my project in debugGame through visual studio because “WorldGridMaterial contains editor only data”, the problem there is, over 300 assets reference that material apparently including default content from the engine.

Is there an easy fix to this?

Delete the Material, you should be asked if you want to replace references, just point to your new material.

Obviously backup your projects beforehand

Might not be exactly what you’re looking for, but if you just want to change materials on a bunch of brushes at the same time:

SHIFT + S to select all surfaces (or Right Click > Select > Select all Surfaces), and then apply the material you want.

You could also select the brushes you want, then press SHIFT + B to select all surfaces on those brushes, and then apply the material.