Custom component inherit from Graphic use canvasRenderer error

The m_CanvasRenderer variable is maintain “null” value but not null, which the code inside Graphic.cs could not add a new CanvasRenderer component.
Unity2021.3.9f1

Wrong sub forum, and… no clue what’re going on about. More information is needed.