What's the best way to draw a 2D line WITHOUT using LineRenderer?

LineRenderer simply does not work right and it’s driving me crazy. There are hundreds of posts on issues with the line not being visible due to rendering behind ALL other game objects, and there are tens of different fixes listed, none of which have any effect for me. Does anyone have suggestions on how to go about drawing lines without using the incredibly broken LineRenderer?

Here is something you can try, but I am not sure if it works on all platforms. Its low level graphics.