# C++ Error D8037

**URL:** <https://forums.unrealengine.com/t/c-error-d8037/2056157>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, crash, editor, question\
**Created:** [October 6, 2024, 6:13pm UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157 "2024-10-06T18:13:02Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![droppedmartin03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@droppedmartin03](https://forums.unrealengine.com/u/droppedmartin03)\
**Post date:** [October 6, 2024, 6:13pm UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157/1 "2024-10-06T18:13:02Z")

</div>

ive had to reinstall windows due to some errors, but upon opening my project again and compiling im getting this error:

ive tried rebuilding visual studio project files and deleting binary, intermediate, saved and data cashe, deleting the contents of my temp file, restarting, varifying unreal engine files, repairing vs, re pulling my entire project, deleting unreals and vs internal cache, and trying to build using the unreal build tool, which is the closest ive gotten, getting an error:

Couldn’t find target rules file for target ‘ProjectName’ in rules assembly ‘UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’  
Location: C:\Program Files\Epic Games\UE\_5.4\Engine\Intermediate\Build\BuildRules\UE5Rules.dll;

but now im pretty stumped in what to do next, ive checked the project name is correct, the target files exist, and tryed deleting th dill files, and re verifying, but none worked. if anyone has any ideas, please let me know!

Im using unreal engine 5.4

---

<div class="post-metadata">

**Author:** ![RonaldoAlmeida](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RonaldoAlmeida](https://forums.unrealengine.com/u/RonaldoAlmeida)\
**Post date:** [October 6, 2024, 6:33pm UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157/2 "2024-10-06T18:33:57Z")

</div>

Hello, bro!  
Okay, as far as I know, this is could be caused by some things.  
I’ll try to go through them but I advise you to backup your current project before trying those.  
By the way, if you haven’t done so until now (I assume not), do it. Use Git.  
Okay:

1. Since you are using VS, are you using the right Startup Project? At the top of the screen in the “second line” of the top menu, there will be some dropdowns to select some configuration. Is the configuration there matching your current project and settings? Should look something like:  
`Development Editor | Win64 | YourProjectName`
2. In VS, open the files of your project: `PROJECT_NAME.Target.cs` and `PROJECT_NAMEEditor.Target.cs`, and check if the name of the project is correct there. It should match the name of the project first created in UE and the current UE version.
3. Check the `.uproject` file to see if the project name and engine version are correct.

Test those out and let us know and, once again, backup your project before trying to do anything I just said.  
Good luck bro!

---

<div class="post-metadata">

**Author:** ![droppedmartin03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@droppedmartin03](https://forums.unrealengine.com/u/droppedmartin03)\
**Post date:** [October 6, 2024, 6:41pm UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157/3 "2024-10-06T18:41:54Z")

</div>

Thanks for the help, the project name is the same across all three, and the configuration matches my project settings. the engine version is correct as well. this project is backed up to git, the werid thing being deleting the local repo files and then repulling from the latest commit didnt solve anything

---

<div class="post-metadata">

**Author:** ![RonaldoAlmeida](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RonaldoAlmeida](https://forums.unrealengine.com/u/RonaldoAlmeida)\
**Post date:** [October 8, 2024, 7:15pm UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157/4 "2024-10-08T19:15:29Z")

</div>

> [@droppedmartin03](#):
>
> ive tried rebuilding visual studio project files and deleting binary, intermediate, saved and data cashe, deleting the contents of my temp file, restarting, varifying unreal engine files, repairing vs, re pulling my entire project, deleting unreals and vs internal cache, and trying to build using the unreal build tool

The only thing I think could add to this is if you remembered to use the General Visual Studio Project Files after deleting Binaries, Intermediated, and Saved, but you probably did that.

If you tried to reset to your last branch and the same problem persists, which file would git not track and would be so important to the project? Hm.

Have you checked if this file actually exists?  
`C:\Program Files\Epic Games\UE_5.4\Engine\Intermediate\Build\BuildRules\UE5Rules.dll`  
If it does, have you tried to download only that file separately and replacing it?  
If it doesn’t, see if something like `C:\Program Files\Epic Games\UE_5.5\Engine\Intermediate\Build\BuildRules\UE5Rules.dll` exists. If it does, now you need a way to find where that path is being built and change it.

Think this might work?

---

<div class="post-metadata">

**Author:** ![RonaldoAlmeida](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RonaldoAlmeida](https://forums.unrealengine.com/u/RonaldoAlmeida)\
**Post date:** [October 8, 2024, 7:34pm UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157/5 "2024-10-08T19:34:37Z")

</div>

> [@RonaldoAlmeida](#):
>
> C:\Program Files\Epic Games\UE\_5.5\Engine\Intermediate\Build\BuildRules\UE5Rules.dl

Sorry, I meant: `C:\Program Files\Epic Games\UE_5.3\Engine\Intermediate\Build\BuildRules\UE5Rules.dl`  
Like in a old instalment of it, I mean.

---

<div class="post-metadata">

**Author:** ![droppedmartin03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@droppedmartin03](https://forums.unrealengine.com/u/droppedmartin03)\
**Post date:** [October 9, 2024, 9:52am UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157/6 "2024-10-09T09:52:43Z")

</div>

it exists, and since then i have tried doing a fresh install of windows, again, cleaning my drive as well, but it still didnt work. it should be something with unreal engine though as building a normal visual studio file works. i cant find anywhere to download the dll files seperatly though. Thanks for the help!

---

<div class="post-metadata">

**Author:** ![droppedmartin03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@droppedmartin03](https://forums.unrealengine.com/u/droppedmartin03)\
**Post date:** [October 9, 2024, 9:54am UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157/7 "2024-10-09T09:54:32Z")

</div>

Im not sure if its suppossed to be, but the dll file is filled with werid symbols

Update:  
its definitely an editor issue, it builds fine on development, but development editor causes it to break. im installing a different verson on unreal rn to see if it will fix it

---

<div class="post-metadata">

**Author:** ![droppedmartin03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@droppedmartin03](https://forums.unrealengine.com/u/droppedmartin03)\
**Post date:** [October 10, 2024, 1:39pm UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157/8 "2024-10-10T13:39:33Z")

</div>

ok, im not sure why, but doing a build \> run build insights on solution \> rebuild fixed it for some reason. was still getting the error when building normally, but after a while of building like this, i can build normally as well

---

<div class="post-metadata">

**Author:** ![adj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@adj](https://forums.unrealengine.com/u/adj)\
**Post date:** [November 8, 2024, 9:58am UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157/9 "2024-11-08T09:58:36Z")

</div>

Use build insight can really eliminate this error.But I appear again when I am packaging the project.

---

<div class="post-metadata">

**Author:** ![adj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@adj](https://forums.unrealengine.com/u/adj)\
**Post date:** [November 8, 2024, 10:12am UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157/10 "2024-11-08T10:12:27Z")

</div>

Running the visual studio or editor as administrator may help to the problem.It seem that the msvc want to create some file in temp directory,but has no permittion.I can package the project when I run as administrator.

---

<div class="post-metadata">

**Author:** ![adj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@adj](https://forums.unrealengine.com/u/adj)\
**Post date:** [November 8, 2024, 10:14am UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157/11 "2024-11-08T10:14:48Z")

</div>

I do not know what msvc want to do in temp directory,but my temp directory is incredibly big.

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

---

<div class="post-metadata">

**Author:** ![PaYo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PaYo](https://forums.unrealengine.com/u/PaYo)\
**Post date:** [November 18, 2024, 9:54pm UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157/12 "2024-11-18T21:54:14Z")

</div>

i have the same problem i hope it will help me

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [December 18, 2024, 9:54pm UTC](https://forums.unrealengine.com/t/c-error-d8037/2056157/13 "2024-12-18T21:54:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
