Crashes every time

Today, I downloaded and installed unreal for the first time (on a 2019 iMac 3.7 GHz Intel Core i5.)

When I try to run the program (4.26.1) it crashes every time after about 10% - 18% loaded.

“Fatal error: [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 5247] Failed to compile global shader FNiagaraSortKeyGenCS . Enable ‘r.ShaderDevelopmentMode’ in ConsoleVariables.ini for retries.”

If you don’t have an easy fix, please tell me how to completely uninstall unreal.

Thanks.

Try the suggested fix the error message suggested.
Open <engine install directory>\Engine\Config\ConsoleVariables.ini.
Find this line:


; Uncomment to get detailed logs on shader compiles and the opportunity to retry on errors
;r.ShaderDevelopmentMode=1

Remove the semi-colon:


; Uncomment to get detailed logs on shader compiles and the opportunity to retry on errors
r.ShaderDevelopmentMode=1

See if it loads.

If not, check out the UE4 answerhub.
May get lucky in there.

Didn’t work. Will look for the answerhub. (new to unreal)

FYI - here’s the beginning of the new error message I got after removing the ;

[FONT=Helvetica Neue]590 Shader compiler errors compiling global shaders for platform SF_METAL_SM5:
[FONT=Helvetica Neue]/var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29389/6801_1678174431.metal(0): Shader FNiagaraSortKeyGenCS, Permutation 2, VF None:
[FONT=Helvetica Neue]Failed to store AIR /var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29389/6801_1678174431.air
[FONT=Helvetica Neue]/var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29387/6551_3314682384.metal(0): Shader FNiagaraSortKeyGenCS, Permutation 0, VF None:
[FONT=Helvetica Neue]Failed to store AIR /var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29387/6551_3314682384.air
[FONT=Helvetica Neue]/var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29388/21633_2949698164.metal(0): Shader FNiagaraSortKeyGenCS, Permutation 1, VF None:
[FONT=Helvetica Neue]Failed to store AIR /var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29388/21633_2949698164.air
[FONT=Helvetica Neue]/var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29387/1051_2927713730.metal(0): Shader FNiagaraDrawIndirectResetCountsCS, Permutation 0, VF None:
[FONT=Helvetica Neue]Failed to store AIR /var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29387/1051_2927713730.air
[FONT=Helvetica Neue]/var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29388/2083_247044407.metal(0): Shader FNiagaraDrawIndirectArgsGenCS, Permutation 0, VF None:
[FONT=Helvetica Neue]Failed to store AIR /var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29388/2083_247044407.air
[FONT=Helvetica Neue]/var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29389/21871_3681625357.metal(0): Shader FNiagaraSortKeyGenCS, Permutation 3, VF None:
[FONT=Helvetica Neue]Failed to store AIR /var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29389/21871_3681625357.air
[FONT=Helvetica Neue]/var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29387/2394_3791778328.metal(0): Shader FNiagaraDrawIndirectArgsGenCS, Permutation 1, VF None:
[FONT=Helvetica Neue]Failed to store AIR /var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29387/2394_3791778328.air
[FONT=Helvetica Neue]/var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29388/938_687187305.metal(0): Shader NiagaraFillIntBufferCS, Permutation 0, VF None:
[FONT=Helvetica Neue]Failed to store AIR /var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29388/938_687187305.air
[FONT=Helvetica Neue]/var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29389/3149_2112891303.metal(0): Shader NiagaraComputeFreeIDsCS, Permutation 0, VF None:
[FONT=Helvetica Neue]Failed to store AIR /var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29389/3149_2112891303.air
[FONT=Helvetica Neue]/var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29387/1255_1853877314.metal(0): Shader FNiagaraInitFreeIDBufferCS, Permutation 0, VF None:
[FONT=Helvetica Neue]Failed to store AIR /var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29387/1255_1853877314.air
[FONT=Helvetica Neue]/var/folders/5y/cqj78chx24948h60c5wvybvr0000gp/T/MetalShaderCompilation/29389/1603_618583762.metal(0): Shader FNiagaraVisualizeTexturePS, Permutation 1, VF None:

same problem . . how to fix it? @

try to update Xcode version

Xcode was updated today to the latest version 14.0 and UE all version start to crash. For now nothign helps

Check out this thread. Usually you have to install/enable command line tools, they talk about this.