# Unreal compile failed

**URL:** <https://forums.unrealengine.com/t/unreal-compile-failed/1695964>\
**Category:** C++\
**Tags:** unreal-engine, bug-report\
**Created:** [February 17, 2024, 9:39pm UTC](https://forums.unrealengine.com/t/unreal-compile-failed/1695964 "2024-02-17T21:39:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![COCAKORAN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@COCAKORAN](https://forums.unrealengine.com/u/COCAKORAN)\
**Post date:** [February 17, 2024, 9:39pm UTC](https://forums.unrealengine.com/t/unreal-compile-failed/1695964/1 "2024-02-17T21:39:52Z")

</div>

The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE\_5.3/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“C:/Users/user/Documents/Unreal Projects/testsiss1256/testsiss1256.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE  
Using bundled DotNet SDK version: 6.0.302  
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Development Win64 -Project=“C:/Users/user/Documents/Unreal Projects/testsiss1256/testsiss1256.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE  
Log file: C:\Users\user\AppData\Local\UnrealBuildTool\Log.txt  
Creating makefile for testsiss1256Editor (no existing makefile)  
@progress push 5%  
Parsing headers for testsiss1256Editor  
Running Internal UnrealHeaderTool “C:\Users\user\Documents\Unreal Projects\testsiss1256\testsiss1256.uproject” “C:\Users\user\Documents\Unreal Projects\testsiss1256\Intermediate\Build\Win64\testsiss1256Editor\Development\testsiss1256Editor.uhtmanifest” -WarningsAsErrors -installed  
Total of 0 written  
Reflection code generated for testsiss1256Editor in 1.6860996 seconds  
@progress pop  
Building testsiss1256Editor…  
Using Visual Studio 2022 14.39.33519 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).  
Determining max actions to execute in parallel (6 physical cores, 12 logical cores)  
Executing up to 6 processes, one per physical core  
------ Building 6 action(s) started ------  
[1/6] Resource Default.rc2  
[2/6] Compile [x64] SharedPCH.Engine.Cpp20.cpp  
C:\Program Files\Epic Games\UE\_5.3\Engine\Source\predefined C++ types (compiler internal)(420): error C2248: ‘FHazardPointerCollection::FHazardRecord::FHazardRecord’: private ??(‘FHazardPointerCollection::FHazardRecord’ Ŭ??? ??? ?׼??? ???ϴ?  
C:\Program Files\Epic Games\UE\_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(86): note: ‘FHazardPointerCollection::FHazardRecord::FHazardRecord’ ??? ???ʽÿ?  
C:\Program Files\Epic Games\UE\_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(77): note: ‘FHazardPointerCollection::FHazardRecord’ ??? ???ʽÿ?  
C:\Program Files\Epic Games\UE\_5.3\Engine\Source\predefined C++ types (compiler internal)(420): note: ??? ???ȭ ???Ʈ(??? ???ȭ ???Ʈ)??  
C:\Program Files\Epic Games\UE\_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(133): note: ???Ǵ??? ???ȭ ‘void \_\_builtin\_array\_init\_helperFHazardPointerCollection::FHazardRecord(\_T \*,size\_t) noexcept()’?? ??? Ȯ???  
with  
[  
\_T=FHazardPointerCollection::FHazardRecord  
]  
Total time in Parallel executor: 21.76 seconds  
Total execution time: 27.35 seconds

what is this?  
I tried to reinstall Visual studio and Unreal 5  
but still have the same problem

---

<div class="post-metadata">

**Author:** ![SolidSk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/solidsk/32/1194513_2.png) [@SolidSk](https://forums.unrealengine.com/u/SolidSk)\
**Post date:** [February 17, 2024, 10:06pm UTC](https://forums.unrealengine.com/t/unreal-compile-failed/1695964/2 "2024-02-17T22:06:21Z")

</div>

> [@Failure to create a new project: "cannot access private member declared in class 'FHazardPointerCollection::FHazardRecord'"](https://forums.unrealengine.com/t/failure-to-create-a-new-project-cannot-access-private-member-declared-in-class-fhazardpointercollection-fhazardrecord/1548295/14):
>
> Temporary workaround is to use 17.10 Preview Community, [according to the VS Developer Community](https://developercommunity.visualstudio.com/t/VS-2022-1790-Preview-10-__builtin_arr/10519788#T-N10584712)

---

<div class="post-metadata">

**Author:** ![COCAKORAN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@COCAKORAN](https://forums.unrealengine.com/u/COCAKORAN)\
**Post date:** [February 18, 2024, 6:06am UTC](https://forums.unrealengine.com/t/unreal-compile-failed/1695964/3 "2024-02-18T06:06:05Z")

</div>

Thank you. It’s working
