CanvasRenderer Missing

When I create a new UI, It misses the CasvasRender which causes: the error MissingComponentException: There is no ‘CanvasRenderer’ attached to the “Canvas” game object, but a script is trying to access it.
You probably need to add a CanvasRenderer to the game object “Canvas”. Or your script needs to check if the component is attached before using it.

The Image in the world place is empty(normally it is a white background), and try to image the sprite; it also empty background. I used Unity 2020 2.1f1.

Thank you for your reply. I solved the problem by reinstalling the unity editor(2020 2.1f1). I think my Editor broke some files. Finally, I solved the problem as I expected.