I don't know what caused this and I was unable to fix it. It was somehow related to the project, i started a new one and remodeled the terrain and it works again.