3D Pixel Perfect Camera

Hello community!
I’ve been trying to make the perfect 3D pixel camera for a few days now. At first I tried to do it all myself, tying the camera position to a grid, but nothing worked. Then I found a ready-made script that should work, but it turned out to be completely unsuccessful, and all this despite the fact that I need a pixel-perfect camera that will work with isometric projection, and I can’t even do it without rotation. Please try to help me. I will leave a link to my test project below

https://github.com/Zolofqq/Pixel-perfect-5