Heyo, if you don’t care about URP or post FX, you can just use the pixel perfect camera component. There is one made for the built-in pipeline included in a 2d project. Once you have that added just change your UI Canvas to world space and set the camera to the one you have the pixel perfect camera component on.
You can reference my old guide for some additional details. https://itch.io/jam/lowrezjam-2019/topic/515490/how-to-2d-pixel-perfect-64x64-in-unity