how do I add texture to the terrain?

I cannot add texture to the terrain. Every time I click on the paint icon, this shows up…151463-uuu.png

you have to add a material to the terrain and change it’s shader to “unlit/texture” and paste the wanted texture there