Warn on invalid materials