The Metal SM5 shader code cannot be viewed in the Editor for a Material. Prior to 4.20, only HLSL Code could be viewed. In 4.20, a number of additional shader options were added, and they all work with the exception of Metal SM5.

This only occurs on Mac. Metal SM5 shader code for iOS can be seen on Windows.

Steps to Reproduce
  1. Create a new project.
  2. Create a new Material.
  3. Open the Material Editor.
  4. Go to Window -> Shader Code -> Metal SM5 and select any of the quality options.

After compiling for a few seconds, no shader code is displayed in the window.

After compiling for a few seconds, the window displays the Metal SM5 shader code.

Have Comments or More Details?

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

Login to Vote

Won't Fix
ComponentUE - Platform - Mobile
Affects Versions4.20.14.21
CreatedAug 24, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021