Failure to create a new project: "cannot access private member declared in class 'FHazardPointerCollection::FHazardRecord'"

That might be because you downloaded and installed it recently, and didn’t upgrade it? To install a specific version, see the accepted answer in this thread: https://learn.microsoft.com/en-us/answers/questions/770494/is-it-possible-to-install-a-prior-build-version-of