Add warning when Material can't be read.