Invoke inside OnPostRender not working properly - drawlines

Hi, I am trying to process the Invoke command from inside the OnPostRender subroutine, but it is not working properly. The procedure below “A0_1_N” does get called, but it is too late. I have tried using 0f as the time, but it makes no difference.

The routine A0_1_N() draws lines on the screen. If I call this routine directly, it works fine, even from inside the OnPostRender. It is only when I use the Invoke, the lines are not drawn.

 void OnPostRender()
    {
        float ss = 0f;

        Invoke("A0_1_N", ss);
       // A0_1_N();
    }

I think it might be getting called to late, after all the ‘render’ routines have been processed. I used 0f to try and force it run immediately, but it does not work.

Can somebody suggest how I can get the Invoke command to immediately run the ‘draw lines’ routine from inside the OnPostRender, or anay other drawing routine?

Thanks
Stu

Is there any reason why you use Invoke, rather than calling the method explicitly?

Yes, I have up to 40,000 routines to call ( please do not ask why ) and it is much simpler to construct the correct string based on which subroutine was called and what direction the player moved.
I know it does not make sense, it is very complex what I am doing, but I have to do it this way.

Stu