Mesh coloring isnt working

I am following along in Sebastion Lague’s Procedural Landmass generation tutorial on youtube until i got to the end of episode 9 and saw that at runtime, my mesh wasnt being colored correctly according to the color map, and his was. I went onto github and even copied all of his source code into my files and it changed nothing. The link to the code is here: https://hastebin.com/henusodunu.pl below are screenshots of how ive configured the scripts in the editor and what the mesh looks like at runtimealt text


I found the problem, for some reason, the regions area of the map generator got reset, idk how this happened exactly, but adding them back seemed to bring back the color, sorry for being such an imbecile