UserInputService mouse ray dilemma

So from what I know, Mouse.Hit was superseded by UserInputService:GetMouseLocation and can be adapted to all platforms, but when I do raycasts with it, players can hit things behind walls because the ray starts at the Camera position

The most simple solution I thought of was making the ray origin start at the player character or gun handle but then the raycast is inaccurate.
The most plausible solution is just switching to mouse.Hit but I don’t know if I should or not.

Mouse.Hit is also calculated from a raycast whose ray originates from the user’s camera. This is how it’s meant to be done. You can cast an additional ray to the root of the player’s character from the calculated 3D mouse position to determine if there are any obstacles

When using the method of changing the origin of the raycast, the mouse ray from :ViewportPointToRay makes the raycast position inaccurate but with Mouse.Hit.Position, it is accurate.
That’s why I’m confused on whether I should use either one; I guess it depends on what I wanna make

How exactly is it inaccurate? Who’s to say that Mouse.Hit.Position is the one to trust? My tests show, on average, an exact duplicate precision up to a 100,000th of a decimal