# Fatal error: \[File:D:\\Build\\++UE4+Release-4.15+Compile\\Sync\\Engine\\Source\\Runtime\\Engine\\Private\\GlobalShader.cpp\] \[Line: 353\]  Missing global shader FPixelShaderDeclaration, Please make sure cooking was successful.

**URL:** <https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924>\
**Category:** Rendering\
**Tags:** unreal-engine, crash, Shaders, UE4, question, Blueprint\
**Created:** [March 25, 2017, 1:02am UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924 "2017-03-25T01:02:54Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d5e3214f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d5e3214f1](https://forums.unrealengine.com/u/anonymous_user_d5e3214f1)\
**Post date:** [March 25, 2017, 1:02am UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/1 "2017-03-25T01:02:54Z")

</div>

Had this in 4.13. Updated to 4.15. Still occuring.

Reproduction:

Environment:  
Windows 10  
SteamVR with HTC Vive installed

Steps:

Launch Unreal Engine 4.15.1

New Blueprint Project - Blank

Desktop/Console, Max Quality, No starter content

Create Project

Edit \> Plugins \> Virtual Reality

Disable all selected (Gear VR, Oculus Input, Oculus Library, Oculus Rift, SteamVR)

Restart Now

Close plugin page

Click “Launch” button

Save map

Wait for launch…

Error dialog opens containing:

Fatal error: [File:D:\Build++UE4+Release-4.15+Compile\Sync\Engine\Source\Runtime\Engine\Private\GlobalShader.cpp] [Line: 353]  
Missing global shader FPixelShaderDeclaration, Please make sure cooking was successful.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d2b909bf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d2b909bf](https://forums.unrealengine.com/u/anonymous_user_d2b909bf)\
**Post date:** [March 27, 2017, 9:16pm UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/2 "2017-03-27T21:16:41Z")

</div>

Hello Rowbow,

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-43383)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

---

<div class="post-metadata">

**Author:** ![Danisme1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Danisme1](https://forums.unrealengine.com/u/Danisme1)\
**Post date:** [April 19, 2017, 7:21pm UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/3 "2017-04-19T19:21:13Z")

</div>

Did you find a fix for this?

---

<div class="post-metadata">

**Author:** ![Brainshack](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brainshack](https://forums.unrealengine.com/u/Brainshack)\
**Post date:** [April 27, 2017, 3:03am UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/4 "2017-04-27T03:03:10Z")

</div>

For me activating the VR Plugins seem to have fixed it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d5e3214f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d5e3214f1](https://forums.unrealengine.com/u/anonymous_user_d5e3214f1)\
**Post date:** [April 27, 2017, 3:07am UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/5 "2017-04-27T03:07:43Z")

</div>

The defect is that VR is required to launch. I have an HTC Vive causing steamvr and my lighthouses to go active despite a non-vr game.

---

<div class="post-metadata">

**Author:** ![Blue669](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Blue669](https://forums.unrealengine.com/u/Blue669)\
**Post date:** [August 10, 2017, 6:50am UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/6 "2017-08-10T06:50:38Z")

</div>

This issue has not been fixed in 4.17 as described in the Bugtracker. I just had exactly this issue with my packaged build and re-enabling the VR Plugins fixed the crash.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [August 10, 2017, 3:16pm UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/7 "2017-08-10T15:16:06Z")

</div>

Hello Blue669,

Thank you for reporting that this issue still occurs. I’ve tested it locally and reproduced it on 4.17 release myself. As such, I’ve reopened the ticket and we will be looking into a solution. It’s possible that this only happens in the Binary editor. If that is the case, that would explain why it seemed to be fixed at the time.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e85d74211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e85d74211](https://forums.unrealengine.com/u/anonymous_user_e85d74211)\
**Post date:** [August 14, 2017, 2:36am UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/8 "2017-08-14T02:36:52Z")

</div>

Hey Matthew, I just wanted to chime in and let you know that I’m experiencing this same issue. I made another AnswerHub post to inquire about UE-43383, which at the time seemed to have been mistakenly flagged fixed in a mysterious nonexistent changelist: [Once an issue is marked fixed in the issue tracker, how long does it take for the associated change to be available on GitHub? - Programming & Scripting - Epic Developer Community Forums](https://answers.unrealengine.com/questions/666305/once-an-issue-is-marked-fixed-in-the-issue-tracker.html)

The issue started occurring for me once the SteamVR plugin was explicitly disabled. Prior to that change, the .uproject file didn’t contain a reference to SteamVR in its list of plugins (meaning it was enabled by default), and the standalone Win64 game executable (built in Development Client config) worked fine. Once SteamVR was explicitly disabled in the .uproject file, and then all executables rebuilt and content re-cooked, the same game executable crashes on startup with the error shown above in Rowbow’s original post.

If I’m understanding “in the Binary editor” correctly (i.e. if you mean that the issue might only occur with the precompiled Launcher version of the engine, and not with local editor binaries compiled from source), then I wanted to mention that I’m seeing this issue when using a build of UE 4.15 that I’ve cloned from GitHub and built from source.

---

<div class="post-metadata">

**Author:** ![John\_Alcatraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Alcatraz](https://forums.unrealengine.com/u/John_Alcatraz)\
**Post date:** [August 16, 2017, 4:00pm UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/9 "2017-08-16T16:00:05Z")

</div>

I also had this issue, so I had to fix it myself. This is the fix:

Go to **HeadMountedDisplayCommon.h** and there you see 3

```
#define OCULUS_STRESS_TESTS_ENABLED

```

Make sure that everyone of those is set to

```
#define OCULUS_STRESS_TESTS_ENABLED 0

```

Then package again, and it’s fixed 🙂

---

<div class="post-metadata">

**Author:** ![6r0m](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/6r0m/32/1194563_2.png) [@6r0m](https://forums.unrealengine.com/u/6r0m)\
**Post date:** [November 7, 2017, 2:33pm UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/10 "2017-11-07T14:33:50Z")

</div>

confirm that 4.17, I can’t start packaged game without OCULUS VR PLUGIN no needen in my game

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc5e9b27](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc5e9b27](https://forums.unrealengine.com/u/anonymous_user_cc5e9b27)\
**Post date:** [June 20, 2018, 2:13pm UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/11 "2018-06-20T14:13:28Z")

</div>

I am getting the same issue. First time seeing it and now it is happening all the time.  
LowLevelfatalError  
[file:D:\Build++UE4+Release-4.16+Compile\Sync\engine\sourse\runtime\renderCore\Private\RenderingThread.cpp}{Line:981}…

I’m using the windows mixed reality. It worked fine for several months. Must have something to do with an update somewhere. Like SteamVR.

---

<div class="post-metadata">

**Author:** ![irapocy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@irapocy](https://forums.unrealengine.com/u/irapocy)\
**Post date:** [July 17, 2018, 6:39pm UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/12 "2018-07-17T18:39:08Z")

</div>

[File:D:\Build++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsWindow.cpp

---

<div class="post-metadata">

**Author:** ![irapocy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@irapocy](https://forums.unrealengine.com/u/irapocy)\
**Post date:** [July 17, 2018, 6:39pm UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/13 "2018-07-17T18:39:35Z")

</div>

[File:D:\Build++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsWindow.cpp

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_18a0c8931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_18a0c8931](https://forums.unrealengine.com/u/anonymous_user_18a0c8931)\
**Post date:** [September 3, 2018, 5:11pm UTC](https://forums.unrealengine.com/t/fatal-error-file-d-build-ue4-release-4-15-compile-sync-engine-source-runtime-engine-private-globalshader-cpp-line-353-missing-global-shader-fpixelshaderdeclaration-please-make-sure-cooking-was-successful/388924/14 "2018-09-03T17:11:11Z")

</div>

is it the same or other?

cant fix it…  
cant play…

LowLevelFatalError  
[File:D:\Build++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Query.cpp][Line: 111]  
GPU has crashed
