
What to do if there are no rays
The error message:
Ray trace failure (NSInternalInconsistencyException : ray does not have valid surfaceNormal)
can mean that the distance between the object and the stop is zero. Make sure there is some non-zero distance by entering a number into the thickness of the object, or by introducing surfaces with non-zero thickness between the object and the stop.