# Compile failed error 

**URL:** <https://forums.unrealengine.com/t/compile-failed-error/2337080>\
**Category:** C++\
**Tags:** error, unreal-engine\
**Created:** [February 16, 2025, 6:06pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080 "2025-02-16T18:06:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![CELES2941](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CELES2941](https://forums.unrealengine.com/u/CELES2941)\
**Post date:** [February 16, 2025, 6:06pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/1 "2025-02-16T18:06:22Z")

</div>

Hi. When I try to open a unreal engine project with C++ in engine 5.2.1 it’s giving me compile failed error. At the bottom it also says license is not activated. How can I solve this problem ?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [February 16, 2025, 7:31pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/2 "2025-02-16T19:31:24Z")

</div>

Can you show a screenshot of the error. Are you sure it’s related to unreal and not your IDE?

Could it be that your IDE’s trial time has ended and it will not compile anymore.

---

<div class="post-metadata">

**Author:** ![CELES2941](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CELES2941](https://forums.unrealengine.com/u/CELES2941)\
**Post date:** [February 17, 2025, 12:56am UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/3 "2025-02-17T00:56:30Z")

</div>

Those are the error panel. It’s says license is not activated and after I close this it’s says “This project file is already exists”

 ![error](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713b06dec9fb1583e70d9e4b985b08f11e6ae38c.png)

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [February 17, 2025, 7:22am UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/4 "2025-02-17T07:22:54Z")

</div>

I’m guessing its an upgraded project. The compiler is complaining about build order. If i remember correctly it can be changed in the target files. I’ll check later when I’m at my pc.

If you are using the full version of vs2022 and not the community one the I suggest you contact microsoft regarding your license.

IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5\_4; // \<= pick whichever version you are targeting  
DefaultBuildSettings = BuildSettingsVersion.V5;

Here is a usage example inside of a target file

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/2/f62bd4013b51b2258af5a8d8c9610de490cf9519.png)

---

<div class="post-metadata">

**Author:** ![CELES2941](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CELES2941](https://forums.unrealengine.com/u/CELES2941)\
**Post date:** [February 18, 2025, 3:05pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/5 "2025-02-18T15:05:14Z")

</div>

That’s the weird part. I am using community license in vs and unreal. Also I created the project new. There weren’t any other project before.

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [February 18, 2025, 3:09pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/6 "2025-02-18T15:09:55Z")

</div>

Are you logged into your account while running vs? You should have your initials in the top right corner of the window next to minimize

 ![acc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/7/717444e85951a3c4a0a8ed18ce65638e8b87c024.png)

---

<div class="post-metadata">

**Author:** ![CELES2941](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CELES2941](https://forums.unrealengine.com/u/CELES2941)\
**Post date:** [February 18, 2025, 3:12pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/7 "2025-02-18T15:12:16Z")

</div>

Yes I am logged in

---

<div class="post-metadata">

**Author:** ![CELES2941](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CELES2941](https://forums.unrealengine.com/u/CELES2941)\
**Post date:** [February 18, 2025, 3:12pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/8 "2025-02-18T15:12:51Z")

</div>

I also tried to redownloading both unreal and vs

---

<div class="post-metadata">

**Author:** ![CELES2941](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CELES2941](https://forums.unrealengine.com/u/CELES2941)\
**Post date:** [February 18, 2025, 3:14pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/9 "2025-02-18T15:14:42Z")

</div>

I also can’t open C++ class in a project. For example I opened an blueprint file and then I tried to add C++ class. It’s just crashed.

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [February 18, 2025, 3:14pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/10 "2025-02-18T15:14:52Z")

</div>

Perhaps this thread has a common cause to your problem?

> [@License not activated](https://forums.unrealengine.com/t/license-not-activated/1209526/5):
>
> The issue was incurred by IncredBuild, an extension of Visual Studio. You can follow this link to activate it on your computer manually. It is free. [https://docs.incredibuild.com/win/v9/windows/installation\_within\_vs.html](https://docs.incredibuild.com/win/v9/windows/installation_within_vs.html)

Maybe a reinstall might not be needed.

---

<div class="post-metadata">

**Author:** ![CELES2941](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CELES2941](https://forums.unrealengine.com/u/CELES2941)\
**Post date:** [February 18, 2025, 3:16pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/11 "2025-02-18T15:16:16Z")

</div>

I tried that too. Didn’t work

---

<div class="post-metadata">

**Author:** ![CELES2941](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CELES2941](https://forums.unrealengine.com/u/CELES2941)\
**Post date:** [February 18, 2025, 3:18pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/12 "2025-02-18T15:18:27Z")

</div>

If I reboot my pc does that solve my problem ?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [February 18, 2025, 3:18pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/13 "2025-02-18T15:18:35Z")

</div>

Try this (from the microsoft forum):

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/c/80c134b43658b795482f9f8b83786b0586a0c5bd.png)

This seems to be a VS specific problem and not exactly an unreal one.

You can try the include order fix in the target file for your engine version once the license problem is solved.

---

<div class="post-metadata">

**Author:** ![CELES2941](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CELES2941](https://forums.unrealengine.com/u/CELES2941)\
**Post date:** [February 18, 2025, 3:22pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/14 "2025-02-18T15:22:10Z")

</div>

I changed it to embedded web browser but I couldn’t find “the check for an updated license” .Where is it ?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [February 18, 2025, 3:26pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/15 "2025-02-18T15:26:50Z")

</div>

it seems to be in the account summary (account settings)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/9/b/49b71a8d28a8f0696433880220749c2472e0180d.png)

I have this in it’s place on the right hand side of the settings

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/d/7/3d7f6e037148c72f05d125a5aa4f530e644281ca.png)

---

<div class="post-metadata">

**Author:** ![CELES2941](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CELES2941](https://forums.unrealengine.com/u/CELES2941)\
**Post date:** [February 18, 2025, 3:33pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/16 "2025-02-18T15:33:21Z")

</div>

Mine is just like yours. I switched the settings but it still has the same error

---

<div class="post-metadata">

**Author:** ![CELES2941](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CELES2941](https://forums.unrealengine.com/u/CELES2941)\
**Post date:** [February 18, 2025, 3:36pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/17 "2025-02-18T15:36:42Z")

</div>

Btw I also tried to run it in another IDE such as Jetbrains rider and it still gives me the same error. The only difference is instead of saying “open in visual studio” it says “open in rider”

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [February 18, 2025, 3:40pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/18 "2025-02-18T15:40:14Z")

</div>

On this thread an engine contributor mentions to uninstall Incredibuild to fix the licensing error.

> [@Unreal Engine 4 Compiler Warning License is invalid](https://forums.unrealengine.com/t/unreal-engine-4-compiler-warning-license-is-invalid/146055):
>
> Hello Everyone, This is my first post here in the forum! please do tell me if i am unclear with my question!. My Unreal Engine Version is 4.25.1 I am using Rider 201.7189.55 as compiler I Started Getting this warning " - License is invalid" Ever since i updated my visual 2019 professional edition the good thing is that everything compiles and works perfectly fine, but every time i compile i get this warning. Here is the full error report CONSOLE: Use build tool: C:\Program Files (x86)\Mi…

Seeing as you are getting the same message in rider and VS then it must be Unreal that is sending it and not the IDE’s

---

<div class="post-metadata">

**Author:** ![CELES2941](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CELES2941](https://forums.unrealengine.com/u/CELES2941)\
**Post date:** [February 18, 2025, 3:40pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/19 "2025-02-18T15:40:59Z")

</div>

Yes. How do I solve it ?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [February 18, 2025, 3:43pm UTC](https://forums.unrealengine.com/t/compile-failed-error/2337080/20 "2025-02-18T15:43:45Z")

</div>

In vs it seems to be in extensions

 ![incredi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/d/14d36a0630dc8fabc920a9f21a81a4e94359f0aa.png)

[Next page](https://forums.unrealengine.com/t/compile-failed-error/2337080.md?page=2)
