# DatasmithAssetUserData.h / UE 5.4.3 / Visual Studio 2022 / Compile error

**URL:** <https://forums.unrealengine.com/t/datasmithassetuserdata-h-ue-5-4-3-visual-studio-2022-compile-error/1989126>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [August 23, 2024, 4:05pm UTC](https://forums.unrealengine.com/t/datasmithassetuserdata-h-ue-5-4-3-visual-studio-2022-compile-error/1989126 "2024-08-23T16:05:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tend](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tend](https://forums.unrealengine.com/u/Tend)\
**Post date:** [August 23, 2024, 4:05pm UTC](https://forums.unrealengine.com/t/datasmithassetuserdata-h-ue-5-4-3-visual-studio-2022-compile-error/1989126/1 "2024-08-23T16:05:49Z")

</div>

I’m trying to get a project to compile with visual studio 2022 17.11.1 but I always get the same error from an Unreal Engine Datasmith header file as per below screenshot. I have tried to reinstall the datasmith plugin. Re-installed the epic games launcher and UE 5.4.3. I also tried to add some dependencies with Visual Studio 2022 as suggested in some other topics. Reinstalled Visual Studio 2022.  
Deleted all the intermediate, Saved, Binaries etc. folders.  
If anybody has or had the same problem the help would be greatly appreciated.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/1/7a1f70df59751ce517f3515390c090e0105625c9.png)

---

<div class="post-metadata">

**Author:** ![SleepyHippoZhou](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sleepyhippozhou/32/88709_2.png) [@SleepyHippoZhou](https://forums.unrealengine.com/u/SleepyHippoZhou)\
**Post date:** [August 27, 2024, 2:46am UTC](https://forums.unrealengine.com/t/datasmithassetuserdata-h-ue-5-4-3-visual-studio-2022-compile-error/1989126/2 "2024-08-27T02:46:33Z")

</div>

same error

---

<div class="post-metadata">

**Author:** ![KeitaNakamura](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KeitaNakamura](https://forums.unrealengine.com/u/KeitaNakamura)\
**Post date:** [September 4, 2024, 1:36pm UTC](https://forums.unrealengine.com/t/datasmithassetuserdata-h-ue-5-4-3-visual-studio-2022-compile-error/1989126/3 "2024-09-04T13:36:11Z")

</div>

Hello.  
I was in the same situation, so I solved it by downgrading to VS 2022 17.8.  
You can download 17.8 from the link below.

> **[Visual Studio 2022 リリース履歴](https://learn.microsoft.com/ja-jp/visualstudio/releases/2022/release-history#release-dates-and-build-numbers)**
>
> Visual Studio 2022 のリリース済みバージョン、ビルド番号、リリース リンクの一覧です。

---

<div class="post-metadata">

**Author:** ![klobodnf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@klobodnf](https://forums.unrealengine.com/u/klobodnf)\
**Post date:** [October 25, 2024, 9:09am UTC](https://forums.unrealengine.com/t/datasmithassetuserdata-h-ue-5-4-3-visual-studio-2022-compile-error/1989126/4 "2024-10-25T09:09:35Z")

</div>

you need install MSVC v143 - VS 2022 C++ x64/x86 build tools(v14.36-17.6) component in Visual Studio Installer and clean up build again.
