Object see-through when rendering mode is set to Fade

Hello, I’ve tried to make and object fade out slowly. Turns out I need the rendering mode of the object to be set to Fade. Here’s the issue. When I set the rendering mode to Faint, the object becomes seetrough, even though I have alpha set to max. Is there a way to fix that?

@PlatPlayz
If it is a 3d object, then you have to tackle with material , you have to play with its alpha color.
And if it is sprite renderer,
SpriteRenderer sr;
float alpha=1f; // 0 to 1
sr.color=new Color(1,1,1,alpha);

and If you are on canvas Image, then you can simply,
Image img;
img.CrossFadeAlpha(0,1,true);