This does indeed give a hint. Is the material a shader? Maybe it is not yet initialized right at start?