On most of cases oblique projection is enought. https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Camera-projectionMatrix.html
solve this following https://jsantell.com/portals-with-asymmetric-projection/
In the case the projection is arbitrary y can resolve using this https://github.com/etienne-p/UnityHomography