# Help!, I get these errors when creating a c++ project in UE 5.3

**URL:** <https://forums.unrealengine.com/t/help-i-get-these-errors-when-creating-a-c-project-in-ue-5-3/1689727>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, CPP\
**Created:** [February 15, 2024, 1:56am UTC](https://forums.unrealengine.com/t/help-i-get-these-errors-when-creating-a-c-project-in-ue-5-3/1689727 "2024-02-15T01:56:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![FIXNIT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FIXNIT](https://forums.unrealengine.com/u/FIXNIT)\
**Post date:** [February 15, 2024, 1:56am UTC](https://forums.unrealengine.com/t/help-i-get-these-errors-when-creating-a-c-project-in-ue-5-3/1689727/1 "2024-02-15T01:56:45Z")

</div>

Hi, I downloaded UE5.3. But when I create a project in c++, I get errors.  
The warning is : Microsoft.Common.CurrentVersion.targets(2382, 5): [MSB3246] Resolved file has a bad image, no metadata, or is otherwise inaccessible. Could not load file or assembly ‘Microsoft.CodeAnalysis.Workspaces.dll’ or one of its dependencies. An attempt was made to load a program with an incorrect format. Could not load file or assembly ‘Microsoft.CodeAnalysis.Workspaces.dll’ or one of its dependencies. An attempt was made to load a program with an incorrect format.

The error is: DirectoryNode.cs(5, 30): [CS0234] The type or namespace name ‘Options’ does not exist in the namespace ‘Microsoft.CodeAnalysis’ (are you missing an assembly reference?)  
I have already deleted the temporary folders, reinstalled, checked the engine files.  
 ![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/c/7/5c72561557578ddb55d2d8e2325f58340dc01c56.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/6/9/069cf5f0191824391941e9577241aa9d50afcf2d.png)  
 ![3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/3/be3803f1da683fac4d258d6297872a5497c3fbd9.png)

---

<div class="post-metadata">

**Author:** ![Josid881](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Josid881](https://forums.unrealengine.com/u/Josid881)\
**Post date:** [February 16, 2024, 5:44pm UTC](https://forums.unrealengine.com/t/help-i-get-these-errors-when-creating-a-c-project-in-ue-5-3/1689727/2 "2024-02-16T17:44:44Z")

</div>

I’ve been struggling with this, so I hope this is resolved, fortunately, there is a workaround; you can open the `.uproject` with Rider by `right clicking->open with...` and after it opens with rider, build from there, the problem is that you can’t see the c++ folders in unreal, but you can still create blueprints from c++ classes there.

---

<div class="post-metadata">

**Author:** ![FIXNIT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FIXNIT](https://forums.unrealengine.com/u/FIXNIT)\
**Post date:** [February 16, 2024, 6:42pm UTC](https://forums.unrealengine.com/t/help-i-get-these-errors-when-creating-a-c-project-in-ue-5-3/1689727/3 "2024-02-16T18:42:17Z")

</div>

Do you think it’s a problem with the UE? or my pc ? because now I have a new error, This is generated when creating a project from 0 in c++ but I don’t understand now why it comes out.

```------
[1/11] Compile [x64] SharedPCH.Engine.Cpp20.cpp
D:\Epic Games\UE_5.3\Engine\Source\predefined C++ types (compiler internal)(420): error C2248: 'FHazardPointerCollection::FHazardRecord::FHazardRecord': no se puede obtener acceso al miembro private miembro declarado en la clase 'FHazardPointerCollection::FHazardRecord'
D:\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(86): note: vea la declaraci?n de 'FHazardPointerCollection::FHazardRecord::FHazardRecord'
D:\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(77): note: vea la declaraci?n de 'FHazardPointerCollection::FHazardRecord'
D:\Epic Games\UE_5.3\Engine\Source\predefined C++ types (compiler internal)(420): note: el contexto de creaci?n de instancias de la plantilla (el m?s antiguo primero) es
D:\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(133): note: Vea la referencia a la creaci?n de una instancia de la funci?n plantilla "void __builtin_array_init_helper<FHazardPointerCollection::FHazardRecord>(_T *,size_t) noexcept(<expr>)" que se est? compilando
        with
        [
            _T=FHazardPointerCollection::FHazardRecord
        ]
[2/11] Resource Default.rc2
Total time in Parallel executor: 44.79 seconds
Total execution time: 83.18 seconds

```

 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/4/fe4799d9b70874eee5e2bae8e1d9425f862dc9e1.png)

---

<div class="post-metadata">

**Author:** ![Josid881](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Josid881](https://forums.unrealengine.com/u/Josid881)\
**Post date:** [February 16, 2024, 6:55pm UTC](https://forums.unrealengine.com/t/help-i-get-these-errors-when-creating-a-c-project-in-ue-5-3/1689727/4 "2024-02-16T18:55:54Z")

</div>

I don’t think is related, what template are you using to create a new project?  
(I recommend you switch your VS / Rider to english as it will result in finding better answers on google when you search erros)

---

<div class="post-metadata">

**Author:** ![FIXNIT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FIXNIT](https://forums.unrealengine.com/u/FIXNIT)\
**Post date:** [February 16, 2024, 7:11pm UTC](https://forums.unrealengine.com/t/help-i-get-these-errors-when-creating-a-c-project-in-ue-5-3/1689727/5 "2024-02-16T19:11:56Z")

</div>

I’m using the 3rd person, but before I didn’t get that error, recently I started getting it when I tried to do what you mentioned about opening it in .uproject.

```auto
[1/11] Compile [x64] SharedPCH.Engine.Cpp20.cpp
D:\Epic Games_5.3EngineSourcedefined C++ types (compiler internal)(420): error C2248: 'FHazardPointerCollection::FHazardRecord::FHazardRecord': can't access private member declared in class 'FHazardPointerCollection::FHazardRecord'.
D:\Epic Games\UE_5.3EngineSourceRuntime\CorePublicExperimentalContainers\HazardPointer.h(86): note: see declaration of 'FHazardPointerCollection::FHazardRecord::FHazardRecord'.
D:\Epic Games\UE_5.3EngineeringSourceRuntime\CorePublicationExperimentalContainers\HazardPointer.h(77): note: see declaration of 'FHazardPointerCollection::FHazardRecord'.
D:\Epic Games_5.3EngineSource_predefined C++ types (compiler internal)(420): note: the template instance creation context (oldest first) is
D:Epic GamesUE_5.3EngineSourceRuntimeCorePublicExperimentalContainersHazardPointer.h(133): note: See reference to creating an instance of the template function "void __builtSourcepredefined". See reference to creating an instance of the template function "void__ builtin_array_init_helper<FHazardPointerCollection::FHazardRecord>(_T *,size_t) noexcept(<expr>)" being compiled.
        with
        [
            _T=FHazardPointerCollection::FHazardRecord
        ]
[2/11] Resource Default.rc2
Total time in Parallel executor: 44.79 seconds
Total execution time: 83.18 seconds

```

---

<div class="post-metadata">

**Author:** ![Josid881](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Josid881](https://forums.unrealengine.com/u/Josid881)\
**Post date:** [February 16, 2024, 8:24pm UTC](https://forums.unrealengine.com/t/help-i-get-these-errors-when-creating-a-c-project-in-ue-5-3/1689727/6 "2024-02-16T20:24:53Z")

</div>

I haven’t got that one before, are you installing rider in game or in engine? You should select “In game” if you selected in engine I believe you should delete UE and install it again, if that doesn’t do the trick maybe you’re missing something else from VS installer

---

<div class="post-metadata">

**Author:** ![FIXNIT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FIXNIT](https://forums.unrealengine.com/u/FIXNIT)\
**Post date:** [February 17, 2024, 12:46am UTC](https://forums.unrealengine.com/t/help-i-get-these-errors-when-creating-a-c-project-in-ue-5-3/1689727/7 "2024-02-17T00:46:17Z")

</div>

I searched for more information, the 2nd error is due to the 17.9 vs update is broken.

---

<div class="post-metadata">

**Author:** ![FIXNIT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FIXNIT](https://forums.unrealengine.com/u/FIXNIT)\
**Post date:** [February 17, 2024, 7:54pm UTC](https://forums.unrealengine.com/t/help-i-get-these-errors-when-creating-a-c-project-in-ue-5-3/1689727/8 "2024-02-17T19:54:16Z")

</div>

I fixed my errors, the first one “T=FHazardPointerCollection::FHazardRecord” is due to the update of vs 17.9 as it is broken, Solution to this is to update to 17.10.

Second error: MSB3246 and CS0234, This is solved by opening it from the .uproject of the project (I use Rider).

I hope it helps if you have my errors or something similar.

---

<div class="post-metadata">

**Author:** ![FanOfUE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FanOfUE](https://forums.unrealengine.com/u/FanOfUE)\
**Post date:** [February 22, 2024, 6:20am UTC](https://forums.unrealengine.com/t/help-i-get-these-errors-when-creating-a-c-project-in-ue-5-3/1689727/9 "2024-02-22T06:20:48Z")

</div>

> [@Error (C2248) while compiling blank project with Unreal 5.3.2](https://forums.unrealengine.com/t/error-c2248-while-compiling-blank-project-with-unreal-5-3-2/1523738/2):
>
> Hey, I have a similar problem. I have no fix. My fix for now is commenting the 86 line out: std::atomic\<uintptr\_t\> Hazard{ FreeHazardEntry }; //FHazardRecord() = default;
