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.

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.

Hello Rowbow,

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

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.

Did you find a fix for this?

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

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.

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.

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 :slight_smile:

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.

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

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.

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

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.

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

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

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

i am getting the same error and im not even making a vr game im using the rolling template, made a bit of a level then tried to package to see what look like on my phone and doesnt work… i packaged before i moved stuff around but i didnt delete anything now its broken??