If you get this error message the problem is likely that MeshPainting is disabled in your project. To fix this you simply need to open the *uproject * file and change the "Enabled" value from false to true for the "MeshPainting" and then re-save the uproject file.