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

Problem solving method,You can try it.copies or replaces files. github GitHub - ydgros/UE_VS2022-17.9 at UE5.3_HazardPointer.h

The problem is not caused by Visual Studio but by the toolchain so you don’t have to roll back or install a previous version. I’m using the latest (at the time of this post) but not the latest toolchain.
image

To fix the issue you only have to install v14.36-17.6 toolchain and regenerate your sln.
NOTE: The latest toolchain is also installed and DO NOT remove it.

17.9.2 also seems to work with the same VSCONFIG as 17.8 for our team. It appears that 17.9.0 and 17.9.1 might have removed this toolchain option?

This was a fun first issue to run into after being away from UE for a couple of years.