Running C:/Program Files/Epic Games/UE_5.3/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“H:/Mr.JAY/UE/New folder/MyProject0000/MyProjectggtgtgt/MyProjectggtgtgt.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=“H:/Mr.JAY/UE/New folder/MyProject0000/MyProjectggtgtgt/MyProjectggtgtgt.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\MSI\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for MyProjectggtgtgtEditor (no existing makefile)
@progress push 5%
Parsing headers for MyProjectggtgtgtEditor
Running Internal UnrealHeaderTool “H:\Mr.JAY\UE\New folder\MyProject0000\MyProjectggtgtgt\MyProjectggtgtgt.uproject” “H:\Mr.JAY\UE\New folder\MyProject0000\MyProjectggtgtgt\Intermediate\Build\Win64\MyProjectggtgtgtEditor\Development\MyProjectggtgtgtEditor.uhtmanifest” -WarningsAsErrors -installed
Total of 14 written
Reflection code generated for MyProjectggtgtgtEditor in 0.4979695 seconds
@progress pop
Building MyProjectggtgtgtEditor…
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 (16 physical cores, 24 logical cores)
Executing up to 16 processes, one per physical core
Requested 1.5 GB memory per action, 20.32 GB available: limiting max parallel actions to 13
------ Building 19 action(s) started ------
[1/19] Resource Default.rc2
[2/19] 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’: cannot access private member declared in class ‘FHazardPointerCollection::FHazardRecord’
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(86): note: see declaration of ‘FHazardPointerCollection::FHazardRecord::FHazardRecord’
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(77): note: see declaration of ‘FHazardPointerCollection::FHazardRecord’
C:\Program Files\Epic Games\UE_5.3\Engine\Source\predefined C++ types (compiler internal)(420): note: the template instantiation context (the oldest one first) is
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(133): note: see reference to function template instantiation ‘void __builtin_array_init_helperFHazardPointerCollection::FHazardRecord(_T *,size_t) noexcept()’ being compiled
with
[
_T=FHazardPointerCollection::FHazardRecord
]
Total time in Parallel executor: 9.10 seconds
Total execution time: 11.00 seconds
As I understand you tried to access a private variable from FHazardPointerCollection and it cause problem. You can’t access a private member anything but that class’ itself.
Roll back to the previous version of the Visual Studio 2022 C++ compiler.
1 Like
Have you resolved this question OP? I am having the same issue.
I will try to roll back the vs build tools as suggested and give some feedback.