Skip to content

Encountered an issue while using UE5.3 and Visual Studio 2022 #3

@cryptoLaoBai

Description

@cryptoLaoBai

"Hello Development Team,

I encountered the following error while building my own Unreal Engine project using the Unreal-HandPoseShowcase project:

D:\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"
D:\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(86): note: see declaration of "FHazardPointerCollection::FHazardRecord::FHazardRecord"
D:\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(77): note: see declaration of "FHazardPointerCollection::FHazardRecord"
D:\Epic Games\UE_5.3\Engine\Source\predefined C++ types (compiler internal)(420): note: template instantiation context (earliest instantiation context) is
D:\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
]

I'm using UE5.3 and building the project with Visual Studio 2022. I'm not sure how to proceed from here. Could you please provide some guidance?"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions