This version of Unity is unsupported.
Method group is Obsolete

LightEditor.Settings.lightShape

Obsolete The lightShape property has been deprecated in favor of the lightType property. public SerializedProperty lightShape;

Description

This property describes the shape of the spot light. Only Scriptable Render Pipelines use this property; the built-in renderer does not support it.