Might try copying over the VHD then try creating a new VM on 2022 with an identical configuration as shown on 2012, then when you get to step Connect Virtual Hard Disk choose Use an existing and point to the 2012 export.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--