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 toAnswerHub just mention UE-51613 in the post.

26
Login to Vote

Fixed
ComponentRendering
Affects Versions4.184.19
Target Fix4.19
Fix Commit3763021
Main Commit3809764
Release Commit3813083
CreatedOct 25, 2017
ResolvedNov 17, 2017
UpdatedApr 27, 2018