Description

In 4.18 and 4.19, it is no longer possible to build the ShaderCacheTool.

REGRESSION:
Yes. The ShaderCacheTool builds successfully in 4.17.2. It looks like the missing MergeShaderCacheFiles property was removed in CL 3574705.

Steps to Reproduce
  1. Open the UE4.sln in Visual Studio.
  2. Locate the ShaderCacheTool in the Programs directory.
  3. Right-click on ShaderCacheTool.
  4. Select the Build option.

RESULT:
The build fails with the following error messages:

1>D:\Source\UnrealEngine-master\Engine\Source\Programs\Mac\ShaderCacheTool\Private\ShaderCacheTool.cpp(66): error C2039: 'MergeShaderCacheFiles': is not a member of 'FShaderCache'
1>  D:\Source\UnrealEngine-master\Engine\Source\Runtime\ShaderCore\Public\ShaderCache.h(142): note: see declaration of 'FShaderCache'
1>D:\Source\UnrealEngine-master\Engine\Source\Programs\Mac\ShaderCacheTool\Private\ShaderCacheTool.cpp(66): error C3861: 'MergeShaderCacheFiles': identifier not found

EXPECTED:
The build completes successfully.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-52566 in the post.

0
Login to Vote

Fixed
ComponentUE - Rendering
Affects Versions4.184.19
Target Fix4.18.2
Fix Commit3768496
Main Commit3790842
CreatedNov 20, 2017
ResolvedNov 21, 2017
UpdatedApr 27, 2018