# Build failed on Windows, error code -1073741819

**URL:** <https://forums.unrealengine.com/t/build-failed-on-windows-error-code-1073741819/299532>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [November 21, 2014, 11:54am UTC](https://forums.unrealengine.com/t/build-failed-on-windows-error-code-1073741819/299532 "2014-11-21T11:54:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukas84\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lukas84\_1](https://forums.unrealengine.com/u/lukas84_1)\
**Post date:** [November 21, 2014, 11:54am UTC](https://forums.unrealengine.com/t/build-failed-on-windows-error-code-1073741819/299532/1 "2014-11-21T11:54:09Z")

</div>

Hi, why i cant launch game on PC? It works in PIE mode though… 😕

It says Launch / (in log - Build) failed, Client exited with error code: -1073741819

I am attaching some short log…

Thank you…link text

---

<div class="post-metadata">

**Author:** ![Jonathan\_Dorman\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonathan\_Dorman\_1](https://forums.unrealengine.com/u/Jonathan_Dorman_1)\
**Post date:** [November 24, 2014, 9:13pm UTC](https://forums.unrealengine.com/t/build-failed-on-windows-error-code-1073741819/299532/2 "2014-11-24T21:13:20Z")

</div>

Hey lukas84,

What version of UE4 is this happening in? Can you build a blank project?

---

<div class="post-metadata">

**Author:** ![lukas84\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lukas84\_1](https://forums.unrealengine.com/u/lukas84_1)\
**Post date:** [November 25, 2014, 5:55pm UTC](https://forums.unrealengine.com/t/build-failed-on-windows-error-code-1073741819/299532/3 "2014-11-25T17:55:36Z")

</div>

Hello Jonathan, i am using 4.5.1 C++ project, with UMG (however thats not probably the reason of error) and also with Localization (LOCTEXT macros in my C++ file and then using Blueprints function “Find Text in Localization Table” - this works good in PIE, but may be it could be reason of the launch error, since i didnt exctract the localization files from C++ yet…)

I know there is quite complicated process of extracting localization to some special files.

May be this is the reason.

Yes another blank project works.

Or dont know what it could be else… but need to fix it, since my game is almost finished now :).

Thank you 🙂

---

<div class="post-metadata">

**Author:** ![lukas84\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lukas84\_1](https://forums.unrealengine.com/u/lukas84_1)\
**Post date:** [November 25, 2014, 6:51pm UTC](https://forums.unrealengine.com/t/build-failed-on-windows-error-code-1073741819/299532/4 "2014-11-25T18:51:40Z")

</div>

and btw i am able to package the win32 project (i am using shippment type) and it says ok, but when i try run the exe, nothing is opened

---

<div class="post-metadata">

**Author:** ![lukas84\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lukas84\_1](https://forums.unrealengine.com/u/lukas84_1)\
**Post date:** [November 27, 2014, 2:02pm UTC](https://forums.unrealengine.com/t/build-failed-on-windows-error-code-1073741819/299532/5 "2014-11-27T14:02:56Z")

</div>

YES LOCTEXT macros are the reason of error… if i comment them it works. So hope i will manage the localization somehow

---

<div class="post-metadata">

**Author:** ![lukas84\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lukas84\_1](https://forums.unrealengine.com/u/lukas84_1)\
**Post date:** [November 28, 2014, 7:40pm UTC](https://forums.unrealengine.com/t/build-failed-on-windows-error-code-1073741819/299532/6 "2014-11-28T19:40:38Z")

</div>

it is due loctext macros

---

<div class="post-metadata">

**Author:** ![gmpreussner\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gmpreussner\_1](https://forums.unrealengine.com/u/gmpreussner_1)\
**Post date:** [March 25, 2015, 9:33pm UTC](https://forums.unrealengine.com/t/build-failed-on-windows-error-code-1073741819/299532/7 "2015-03-25T21:33:07Z")

</div>

For future reference, error code -1073741819 indicates an access violation inside UHT, which means that we have a bug somewhere. If you run into this again, please let us know, so we can fix it. Thanks!

---

<div class="post-metadata">

**Author:** ![vikhik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vikhik](https://forums.unrealengine.com/u/vikhik)\
**Post date:** [June 30, 2015, 6:44am UTC](https://forums.unrealengine.com/t/build-failed-on-windows-error-code-1073741819/299532/8 "2015-06-30T06:44:23Z")

</div>

Adding the following code at the end of a relatively inconsequential class (which is working as intended with no weird features) causes this error 🙂

```
	//UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Spline Racer")
	//	static TArray<USplineComponent*> Splines;

	//UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Spline Racer")
	//	static TArray<UTimelineComponent*> Timelines;
	
};

//TArray<USplineComponent*> ASplineRacer::Splines;
//TArray<UTimelineComponent*> ASplineRacer::Timelines;

```

Also, if you happen to know how to have a static set of components that an individual can select from, please let me know! 😉
