Hello,
Today I was making something that involved raycasts and whatever, and I accidentally used ViewportPoinToRay instead of ScreenPointToRay, which made me spend some time on completely unnecessary debugging. Turns out, it does not account for GUI inset and that caused all the problems.
If its causing unnecessary problems, why does it exist? Is there a specific use case for this I am not aware of, instead of just using ScreenPointToRay?
Thanks for reading