add warning when meshPoly's material ID is invalid