I had exactly the same problem. The core of the problem was, that Altium wasn't able to write the data into the Mesh folder. It caused various access violations at older versions (like Altium 17), because there was no data to read, and the "red outlines" problem at newer versions. In my case the whole issue was caused by the antivirus software, as soon as I disabled it, the problem was solved.