In an earlier update of ARFoundation, unity deprecated the use of ARSessionOrigin and replaced it with XROrigin. I updated the to ARFoundation 5.0.2 and its dependancies due to a camera bug with iOS 16.
Now it seems ARSessionOrigin is obsolete and MARS haven’t been updated accordingly.
in MARSSession.cs with ARFoundation 5.0.2