UGUI uses gamma space, but 3D objects use linear space?

Is there a way to achieve it?
I try
In linear space, UI texture cancels sRGB
Pow the alpha in the shader (2.2)

Doesn’t work perfectly.

Is there any solution?

Could you please elaborate on what you mean by it not working perfectly? Seeing your current results and what you’re expecting will help us a lot in understanding the issue.