# UE4Editor error - no ShaderCompileWorker binary

**URL:** <https://forums.unrealengine.com/t/ue4editor-error-no-shadercompileworker-binary/342959>\
**Category:** Platform & Builds\
**Tags:** build, MAC, unreal-engine, crash, bug-report, question\
**Created:** [January 3, 2016, 8:04am UTC](https://forums.unrealengine.com/t/ue4editor-error-no-shadercompileworker-binary/342959 "2016-01-03T08:04:36Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![duva](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@duva](https://forums.unrealengine.com/u/duva)\
**Post date:** [January 3, 2016, 8:04am UTC](https://forums.unrealengine.com/t/ue4editor-error-no-shadercompileworker-binary/342959/1 "2016-01-03T08:04:36Z")

</div>

I downloaded the latest release branch on 1/2/15 and built from scratch. Build succeeds but UE4Editor fails to launch due to ShaderCompileWorker not existing:

```
$ mv ~/Downloads/UnrealEngine-release.zip .
$ unzip UnrealEngine-release.zip 
$ cd UnrealEngine-release
$ ./Setup.sh 
$ ./GenerateProjectFiles.sh 
$ ./Engine/Build/BatchFiles/Mac/Build.sh UE4Editor Mac Development
$ ./Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor
***Recognized (0x65) family*** (20 cols X 12 rows) using raw16bitRange= 508, thresh8bits= 3, zsignal_per_pixelsum= 41
Fatal error: [File:{~}/dev/EpicUE4/UnrealEngine-release/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 1302] 
Couldn't launch {~}/dev/EpicUE4/UnrealEngine-release/Engine/Binaries/Mac/ShaderCompileWorker! Make sure the file is in your binaries folder.
```

---

<div class="post-metadata">

**Author:** ![duva](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@duva](https://forums.unrealengine.com/u/duva)\
**Post date:** [January 3, 2016, 8:08am UTC](https://forums.unrealengine.com/t/ue4editor-error-no-shadercompileworker-binary/342959/2 "2016-01-03T08:08:47Z")

</div>

Macbook Pro, OS X 10.11.1

Note: I originally tried to build from the generated XCode project - same error.

---

<div class="post-metadata">

**Author:** ![duva](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@duva](https://forums.unrealengine.com/u/duva)\
**Post date:** [January 3, 2016, 8:41pm UTC](https://forums.unrealengine.com/t/ue4editor-error-no-shadercompileworker-binary/342959/3 "2016-01-03T20:41:25Z")

</div>

I just ran:

$ ./Engine/Build/BatchFiles/Mac/Build.sh UE4Editor Mac Development -clean

$ ./Engine/Build/BatchFiles/Mac/Build.sh UE4Editor Mac Development -verbose \> build.log 2\>&1

$ cat build.log | grep ShaderCompileWorker

$

got nothing. broken build rule?

---

<div class="post-metadata">

**Author:** ![duva](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@duva](https://forums.unrealengine.com/u/duva)\
**Post date:** [January 4, 2016, 12:27am UTC](https://forums.unrealengine.com/t/ue4editor-error-no-shadercompileworker-binary/342959/4 "2016-01-04T00:27:07Z")

</div>

Building ShaderCompileWorker manually fixes this issue:

```
$ ./Engine/Build/BatchFiles/Mac/Build.sh ShaderCompileWorker Mac Development -verbose 
$ ./Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor
```

---

<div class="post-metadata">

**Author:** ![Yusuf-Ismail](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yusuf-Ismail](https://forums.unrealengine.com/u/Yusuf-Ismail)\
**Post date:** [June 7, 2016, 1:57am UTC](https://forums.unrealengine.com/t/ue4editor-error-no-shadercompileworker-binary/342959/5 "2016-06-07T01:57:17Z")

</div>

Thank you for pointing this out! I was attempting to build 4.12.0 from source on Mac OSX 10.11.5 El Capitan, and running it would always instantly crash.

From what you posted, I checked the output from Xcode, it read:  
“Couldn’t launch ShaderCompileWorker! Make sure the file is in your binaries folder.”

So, in Xcode I left clicked on the scheme button, scrolled down to ShaderCompileWorker and selected it for ‘My Mac’. Then I did Product - Build.

In addition to this though, I also had to do the same steps for UnrealLightmass.

After doing both of these, the editor would load up and look like it’s getting stuck at 45% with Xcode reporting “Missing cached shader map for material WorldGridMaterial, compiling.”. This took about half an hour, and then it was able to open up properly. I figured I would just outline what I did in case others run into this issue too. Thank you for your post!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_56fa0aa5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_56fa0aa5](https://forums.unrealengine.com/u/anonymous_user_56fa0aa5)\
**Post date:** [June 20, 2016, 2:03am UTC](https://forums.unrealengine.com/t/ue4editor-error-no-shadercompileworker-binary/342959/6 "2016-06-20T02:03:01Z")

</div>

Hello,

It seems a spelling error in the UE4Rules assembly. When using the manual build, I get the following error:  
ERROR: Couldn’t find target rules file for target ‘ **ShaderCompilerWorker** ’ in rules assembly ‘UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.  
Location: /Users/ZhangJin/Documents/UnrealEngine-release/Engine/Intermediate/Build/BuildRules/UE4Rules.dll

And the found target file is: **ShaderCompileWorker** - /Users/ZhangJin/Documents/UnrealEngine-release/Engine/Source/Programs/ **ShaderCompileWorker** / **ShaderCompileWorker**.Target.cs

Could anyone please help with this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_56fa0aa5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_56fa0aa5](https://forums.unrealengine.com/u/anonymous_user_56fa0aa5)\
**Post date:** [June 29, 2016, 4:39am UTC](https://forums.unrealengine.com/t/ue4editor-error-no-shadercompileworker-binary/342959/7 "2016-06-29T04:39:21Z")

</div>

Sorry, I made a mistake, the manual building works without problem.

---

<div class="post-metadata">

**Author:** ![muchcharles](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@muchcharles](https://forums.unrealengine.com/u/muchcharles)\
**Post date:** [October 2, 2016, 10:00pm UTC](https://forums.unrealengine.com/t/ue4editor-error-no-shadercompileworker-binary/342959/8 "2016-10-02T22:00:18Z")

</div>

This still happened with 4.13 for me. This needs a jira ticket or there should be an update to the buiding-from-source documentation.

Manually running Build.sh for the ShaderCompilerWorker as mentioned above worked for me, but this is probably unnecessarily tripping up a lot of people. I haven’t tried a fresh build on windows, but the same thing with ShaderCompilerWorker was happening there at one time on 4.12.

---

<div class="post-metadata">

**Author:** ![AaronWildman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AaronWildman](https://forums.unrealengine.com/u/AaronWildman)\
**Post date:** [July 9, 2018, 7:56am UTC](https://forums.unrealengine.com/t/ue4editor-error-no-shadercompileworker-binary/342959/9 "2018-07-09T07:56:09Z")

</div>

Each time, I give up on installing Nvidia gameworks through visual studio, I happen to come across forums like this.

THANK YOU

Build.sh for the ShaderCompilerWorker as mentioned above worked for me.

In Visual studio, find this and build it when you get the no ShaderCompileWorker.exe and as Sabun said it will launch and get stuck on 45% for a while
