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

**URL:** <https://forums.unrealengine.com/t/failure-to-create-a-new-project-cannot-access-private-member-declared-in-class-fhazardpointercollection-fhazardrecord/1548295>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, bug-report, CPP, question\
**Created:** [December 23, 2023, 3:18pm UTC](https://forums.unrealengine.com/t/failure-to-create-a-new-project-cannot-access-private-member-declared-in-class-fhazardpointercollection-fhazardrecord/1548295 "2023-12-23T15:18:19Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![Alan\_Sorrill](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alan\_Sorrill](https://forums.unrealengine.com/u/Alan_Sorrill)\
**Post date:** [February 24, 2024, 6:56pm UTC](https://forums.unrealengine.com/t/failure-to-create-a-new-project-cannot-access-private-member-declared-in-class-fhazardpointercollection-fhazardrecord/1548295/18 "2024-02-24T18:56:11Z")

</div>

My UE5 setup was working perfectly. Then I decided to install copilot. It said I needed to update Visual Studio. In a grand mistake I clicked that update button. For some reason Microsoft won’t let you choose a version with community edition. Now I’m stuck running the preview edition of visual studio 2022. Other errors forced me to start compiling the engine from this fork: [https://github.com/DreamSworK/UnrealEngine/tree/a3e283c172166168f08acc007a01aa128cce10f5](https://github.com/DreamSworK/UnrealEngine/tree/a3e283c172166168f08acc007a01aa128cce10f5)  
Found here:  
[Error compiling the Automation Tool after updating Visual Studio today (Unreal 5.3.2) - #12 by Jithak](https://forums.unrealengine.com/t/error-compiling-the-automation-tool-after-updating-visual-studio-today-unreal-5-3-2/1393088/12)

---

_[View the full topic](https://forums.unrealengine.com/t/failure-to-create-a-new-project-cannot-access-private-member-declared-in-class-fhazardpointercollection-fhazardrecord/1548295)._
