I have got that error before but usually can get rid of it by checking textures and there's usually one that stands out. The textures were in a compression I'd used before so that's why i was totally confused. It could be because I was using some old textures and there was a mix of compressions. Meh...