I believe the new update deleted my non-optimized terrain data (ie the files in the editor folder). AFAIK when they are deleted you can never edit that terrain again, or at least when I tried I can add new materials but I cannot paint with the old ones anymore and gives me the error that I'm trying to edit optimized terrain.