Landscape Paint tool causes black tiles on terrain

This is a known bug that affects a certain bunch of people, you have to let all your landscape materials generate shaders first before painting and that will fix it