This version of Unity is unsupported.
Removed

Component.renderer

Obsolete public Component renderer;

Description

The Renderer attached to this GameObject. (Null if there is none attached).