# Unreal engine 5.5.4 not working with Visual Studio 2022 

**URL:** <https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432>\
**Category:** C++\
**Tags:** unreal-engine, bug-report, CPP, question\
**Created:** [June 1, 2025, 1:07pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432 "2025-06-01T13:07:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_Adr1an\_Bandit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_Adr1an\_Bandit](https://forums.unrealengine.com/u/Mr_Adr1an_Bandit)\
**Post date:** [June 1, 2025, 1:07pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/1 "2025-06-01T13:07:41Z")

</div>

I’m having a problem where whenever I try to launch visual studio 2022 from my ue5 project it opens up a cmd with the wrong path location for the visual studio 2022 build tools. I have followed epic games’s tutorial for installing vs 2022, and reinstalling it didn’t help. Manually opening the project from vs works, but once I try to run the development mode with local windows it games me this error Game files required to initialize the global shader library are missing from:

C:/Users/Adrian/Documents/Unreal Projects/GameIdea1/Content/

Please make sure the game is installed correctly.  
In the ue5 editor prefrences I have the code editor set to visual studio 2022, and refreshing the code doesn’t help

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/b/ecbe2719afbcb8d45d4ea63004b89a6fe0146528.png)

---

<div class="post-metadata">

**Author:** ![SpecZynk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/speczynk/32/1117840_2.png) [@SpecZynk](https://forums.unrealengine.com/u/SpecZynk)\
**Post date:** [June 1, 2025, 3:27pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/2 "2025-06-01T15:27:06Z")

</div>

Hi,

I’m not sure, but it may solve your issue.

Regenerate your project solution, open it. On Visual Studio define your game as project initialization by right clicking on your game solution in the solution explore.

I’ve got something similar and I’ve solved in this way.

You may found something like this, the UE5 solution is the default.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/e/4be0f0e8828e6ecf2d59125d0368ffa7c190b47d.png)

So after you define your game as default initialization, it gets bold.

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

May that help you, bye!

---

<div class="post-metadata">

**Author:** ![Mr\_Adr1an\_Bandit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_Adr1an\_Bandit](https://forums.unrealengine.com/u/Mr_Adr1an_Bandit)\
**Post date:** [June 2, 2025, 11:37am UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/3 "2025-06-02T11:37:26Z")

</div>

So I have set the game as the default solution, but it still gives me this error

I have set the game as default solution and it is bold but it still gives me this error

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/d/65d2342477498ad84d6f1165829e042673057021.png)

---

<div class="post-metadata">

**Author:** ![SpecZynk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/speczynk/32/1117840_2.png) [@SpecZynk](https://forums.unrealengine.com/u/SpecZynk)\
**Post date:** [June 2, 2025, 11:40am UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/4 "2025-06-02T11:40:39Z")

</div>

When you try to compile your game, do you get any error on your visual studio output?

It seems something with your project, have you tried to create another UE project in order to check if get the same error?

---

<div class="post-metadata">

**Author:** ![Mr\_Adr1an\_Bandit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_Adr1an\_Bandit](https://forums.unrealengine.com/u/Mr_Adr1an_Bandit)\
**Post date:** [June 2, 2025, 12:41pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/5 "2025-06-02T12:41:39Z")

</div>

Yep, I have created a different project and it works. From the current project I deleted the .vs and .vscode folders. Now when I try running the game development in vs it tells me if I want to use the latest correct build, and when trying to open ue5 it gets stuck on performing replace references. Same thing happens in vscode, but there it highlights this line. The only thing I have added in c++ are a 2 classes, where I followed a tutorila. For the guy it worked with no problems.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/optimized/4X/a/a/3/aa368ee557be4d0a9693b9ddc8c651203f40120e_2_690x46.png)

---

<div class="post-metadata">

**Author:** ![SpecZynk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/speczynk/32/1117840_2.png) [@SpecZynk](https://forums.unrealengine.com/u/SpecZynk)\
**Post date:** [June 2, 2025, 3:03pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/6 "2025-06-02T15:03:10Z")

</div>

Try the following steps:

> [@新規C＋＋クラスを作成ができない](https://forums.unrealengine.com/t/c/2284342/5):
>
> […]
> 
> 1. Close unreal and visual studio;
> 2. Go to your project folder;
> 3. Delete the following selected folders and files:
> 
> ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/1/c/81ca1ca7e2cc824f64c68232dc280fc8b9029755.png)
> 
> 1. Right Click on your `.uproject` and generate your visual studio project file:
> 
> ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/f/54f5d5f3d6c315ed8be2e32465bbeaef5a7710e4.png)
> 
> 1. Open your project’s solution (`YourProject.sln`);
> 2. On visual studio press `CTRL + F5`.
> 
> […]

After all, use this video as reference in way to add classes: [https://www.youtube.com/watch?v=FBpnOuCgHu4](https://www.youtube.com/watch?v=FBpnOuCgHu4)

This may solve your issue, good luck.

---

<div class="post-metadata">

**Author:** ![Mr\_Adr1an\_Bandit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_Adr1an\_Bandit](https://forums.unrealengine.com/u/Mr_Adr1an_Bandit)\
**Post date:** [June 2, 2025, 4:27pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/7 "2025-06-02T16:27:51Z")

</div>

After doing the steps you mentione I get this in vs. It tells me that there were build error, the in tells me that it was built with a different engine version. Same applies to if I try to launch it from epic games. This is a clone but I got the same result with the original, and it went back to normal after I restored the original files. Additionally vs give me exit code 8  
The command “C:\UE\_5.5\Engine\Build\BatchFiles\Build.bat GameIdea1Editor Win64 Development -Project=“C:\Users\Adrian\Documents\Unreal Projects\GameIdeaTEST\GameIdeaTEST.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code 8.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/1/92120c5fb02ca0d6a54c0ab11bc8dacc6516b027.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/f/c7ffd442b0398ab61aeeab27f47b484c110bcc1f.png)

---

<div class="post-metadata">

**Author:** ![SpecZynk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/speczynk/32/1117840_2.png) [@SpecZynk](https://forums.unrealengine.com/u/SpecZynk)\
**Post date:** [June 3, 2025, 12:12pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/8 "2025-06-03T12:12:09Z")

</div>

Could you please post here the output error? I mean the compile output, instead of the list error.

I’d like to check what error we are getting.  
[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/f/c7ffd442b0398ab61aeeab27f47b484c110bcc1f.png) ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/f/c7ffd442b0398ab61aeeab27f47b484c110bcc1f.png)

Usually we got this error when we try to open the unreal engine from visual studio and it it already open, so make sure the engine is closed before open it.

> [@Mr\_Adr1an\_Bandit](#):
>
> The command “C:\UE\_5.5\Engine\Build\BatchFiles\Build.bat GameIdea1Editor Win64 Development -Project=“C:\Users\Adrian\Documents\Unreal Projects\GameIdeaTEST\GameIdeaTEST.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code 8.

---

<div class="post-metadata">

**Author:** ![Mr\_Adr1an\_Bandit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_Adr1an\_Bandit](https://forums.unrealengine.com/u/Mr_Adr1an_Bandit)\
**Post date:** [June 3, 2025, 8:00pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/9 "2025-06-03T20:00:27Z")

</div>

I’m assuming you mean this? UE5 was closed before trying the operation. This is the result when clicking yes to running the last successful build

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/3/323cb6cf88a87607ca0dc833232bdb0f9a757a45.png)

---

<div class="post-metadata">

**Author:** ![SpecZynk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/speczynk/32/1117840_2.png) [@SpecZynk](https://forums.unrealengine.com/u/SpecZynk)\
**Post date:** [June 4, 2025, 2:22am UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/10 "2025-06-04T02:22:09Z")

</div>

Hi,

Let’s check this image, there are a lot of information.

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

(1) Your engine is open, when you compile from Visual Studio, it’s a good practice close it in order to avoid hot reload or conflict with Live Code. That’s the reason you are getting that error, I’ve told you before.

(3) Clique on ‘YES’, and compile your game with **UE closed**.

(2) After you compile, show here the Visual Studio compile **output**.

We need to know the compile output in order to take some action, the compile output tell us if we have committed any mistakes when coding, that’s why I’m asking you that.

---

<div class="post-metadata">

**Author:** ![Mr\_Adr1an\_Bandit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_Adr1an\_Bandit](https://forums.unrealengine.com/u/Mr_Adr1an_Bandit)\
**Post date:** [June 4, 2025, 5:35am UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/11 "2025-06-04T05:35:17Z")

</div>

Hi, like I said ue5 was closed when performing this. the ue5 from the task bar is the open tab that tells me to recompile. When I click on yes it tells me that it failed and that I should do it manually

---

<div class="post-metadata">

**Author:** ![Mr\_Adr1an\_Bandit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_Adr1an\_Bandit](https://forums.unrealengine.com/u/Mr_Adr1an_Bandit)\
**Post date:** [June 4, 2025, 10:49am UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/12 "2025-06-04T10:49:01Z")

</div>



---

<div class="post-metadata">

**Author:** ![SpecZynk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/speczynk/32/1117840_2.png) [@SpecZynk](https://forums.unrealengine.com/u/SpecZynk)\
**Post date:** [June 4, 2025, 11:57am UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/13 "2025-06-04T11:57:08Z")

</div>

Ok, cool.

Your game is not built yet, if you look your game folders, you don’t have the be binaries or Intermediate folders.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/4/9b442a0d8d9b5dc94256aa877781478119387b87.jpeg)

So let’s start with that.

1. First let’s build our game solution `Build > Build GameIdeaTEST` or simple (`Ctrl + B` or `Ctrl + Shift + B`).

2. Did you get any output error? If so try to fix or print here.

3. After fix any error, you can try initialize your game in default or debug mode.

---

<div class="post-metadata">

**Author:** ![Mr\_Adr1an\_Bandit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_Adr1an\_Bandit](https://forums.unrealengine.com/u/Mr_Adr1an_Bandit)\
**Post date:** [June 4, 2025, 1:43pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/14 "2025-06-04T13:43:02Z")

</div>

These are the errors I got after trying to build the project from vs

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/0/e/00e3ec9e6ed1a598bed274e50daefec7d87135d6.png)

---

<div class="post-metadata">

**Author:** ![SpecZynk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/speczynk/32/1117840_2.png) [@SpecZynk](https://forums.unrealengine.com/u/SpecZynk)\
**Post date:** [June 4, 2025, 1:56pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/15 "2025-06-04T13:56:25Z")

</div>

My friend,

Could you please share the **output** instead of the error list?

Please share the **output** - item (2) on the follwing image.

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

Most of the visual studio “error list” when it comes to unreal engine means nothing, you should use the compile output - item (2).

---

<div class="post-metadata">

**Author:** ![Mr\_Adr1an\_Bandit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_Adr1an\_Bandit](https://forums.unrealengine.com/u/Mr_Adr1an_Bandit)\
**Post date:** [June 4, 2025, 2:52pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/16 "2025-06-04T14:52:22Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/0/6f035ff38a89393a921eb4dc3fb7d80e80f33652.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/4/7b483f81b4165b1637fd309f58191a2e612eb448.png)

---

<div class="post-metadata">

**Author:** ![SpecZynk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/speczynk/32/1117840_2.png) [@SpecZynk](https://forums.unrealengine.com/u/SpecZynk)\
**Post date:** [June 4, 2025, 4:02pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/17 "2025-06-04T16:02:01Z")

</div>

Does UE was closed when you have tried to compile?

It seems it was open, and that was the only error the make file has found.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/b/4cba7a4b407282c0c5958ea616319058ccf7b631.png)

If it was open, close it, it does not matter if it is another project. Simple close it.

---

<div class="post-metadata">

**Author:** ![Mr\_Adr1an\_Bandit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_Adr1an\_Bandit](https://forums.unrealengine.com/u/Mr_Adr1an_Bandit)\
**Post date:** [June 4, 2025, 5:08pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/18 "2025-06-04T17:08:56Z")

</div>

As you can I see I have no other projects open

---

<div class="post-metadata">

**Author:** ![SpecZynk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/speczynk/32/1117840_2.png) [@SpecZynk](https://forums.unrealengine.com/u/SpecZynk)\
**Post date:** [June 4, 2025, 9:41pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/19 "2025-06-04T21:41:57Z")

</div>

That’s really crazy, I mean a lot.

I don’t know what is the problem. It seems something with the engine, but before presume anything.

1. From this last video, we can see the compile get stuck at the same step. So we can try to create another Unreal’s C++ Template, like First Person template and see if it opens with no problem, in case it succeed, so the problem is the current project, so move your C++ classes.

2. Check if Visual Studio 2022 is using `compiler version 14.38`, maybe you are using `14.43`, if you are using the right version, all remains is try to reinstall the engine.

---

<div class="post-metadata">

**Author:** ![Mr\_Adr1an\_Bandit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_Adr1an\_Bandit](https://forums.unrealengine.com/u/Mr_Adr1an_Bandit)\
**Post date:** [June 5, 2025, 6:56pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432/20 "2025-06-05T18:56:19Z")

</div>

Alright so it seems like maybe there was a problem with the project? I have no idea what would cause it though. What I did was migrate all of the bluperints I had written to a new projects and now it works.
