Don’t know if vs 2022 compatible with ue4.27, you can try vs 2019. I am not sure this would solve the error.