How to utilize hit crossing to eliminate the error non-sampled zero crossings

I have alreday known that many reasons can lead to the ‘zero-crossing’ errors ,such as too many harmonics in the modulation waveform which is the input signal of PWM generator.So will the hit-crossing block help?

The error message:

"Maximum number of iterations exceeded during evaluation of non-sampled zero crossings.‘’