Missing parts of my mesh when using Riggify addon?

After modelling my character,i decided to rig him using the riggify addon…i successfully generate the rig but when i hit ctrl + P to parent with automatic weights, some parts of my mesh disappear!! i had earlier used the mask modifier and applied it on the mesh…could it be the one causing all the trouble? what do i do?


Turn on Auto Run Python Scripts in User Preferences.

Good luck!