black mesh on mobile

For simplicity, you could just check position on one axis to get the effect, instead of using box mask.

Regarding it rendering black, meanwhile you wait for someone keen on iOS to drop by this question,you could try removing parts of your material graph one by one and localize the part, that is causing the issue. I bet it has something to do with WS position node inside the box mask. Might be also worth to check the logs.