ScreenPointToRay working incorrectly ?

Hi,

I’m with a problem here, maybe someone can help me.
The function ScreenPointToRay seems to work ok, however if i translate my camera away from Unity origin (like a translation of 30000 in Z unity units), my clicks have a offset, and do not give the correct result.
Anyone has experienced something like this ?
Is this floating point problems ?

thanks,
Bruno

Ok, fixed it, I just had to increase the near plane :slight_smile: