'GlobalShaderCache missing' error when executing packaged project for osX

Hello, I’m trying to make a packaged project work on third person’s mac, but he’s catching this issue:

Contents/UE4/Engine/GlobalShaderCache-SF_METAL_SM4.bin’ is missing.
Your application is built to load COOKED content. No COOKED content was found; This usually means you did not cook content for this build.
It also may indicate missing cooked data for a shader platform(e.g., OpenGL under Windows): Make sure your platform’s packaging settings include this Targeted RHI.
Alternatively build and run the UNCOOKED version instead.

I’m pretty sure all content is cooked and provided with a package.
I’m also kinda sure GlobalShaderCache is an opengl thing, so it could not be hooked up to a project somehow.

Any ideas what can I do with package / person can do with mac?
-opengl parameter in terminal, or something?
Or should I do something special to include openGL cooked data?

Project also works well on my mac, so I’m not really sure what to do here.

There are 2 solutions for this.

  1. Going project settings → platforms → mac → enabling all opengl stuff; Than packing project again

  2. Launching a packed game with -opengl flag

I have exactly the same issue as you, and although running the game with -opengl worked, editing the project settings to enable all opengl stuff did not work. Did you ever find a solution that didn’t force the person to run the packaged game in a special way?

Hey.
For some reason I can’t run a game without -opengl flag anymore neither.
Still, I’ll need a double-click executable next week so I’ll have to find a new way out.
I’ll report here as soon as I’ll have any success with it.

Hi Unteroid,

Due to the large volume of questions and comments concerning the Engine, we did not have a chance to respond to your post at the time you submitted it. However, if you are still interested, the following AnswerHub post provides an explanation of the problem as well as a couple of ways to workaround it:

‘GlobalShaderCache missing’ error when launching packaged Mac game

-.