UE4 not showing shader code for Metal SM5 when using materials

Hello everyone,

I’m currently a student in Sydney, Australia and my place of education has decided to use UE4 for a mobile game. I’m currently using Mac OS X 10.13.6, Unreal Engine 4.20.1 and developing for iOS 11.4.1

My problem is that I have a grid that has a simple sine wave going through it from Houdini and it works in the editor, but when I push it to the phone it looks like this.

When I open the material that has the position map generated by Houdini and go to the shader window and select Metal SM5 it starts to compile the shaders then this happens.

All the other shader options generate code but this one doesn’t. I’m confused as why this would be happening considering I have the latest Mac OS X installed and both my graphics cards support Metal 2.0