Deproject Screen To World error

Hello smart peoples. I’m at my wits end here! I’ve read up all the answers on other posts but nothing solves my problem.

I’m doing ye olde drop inventory item onto view, getting the screen position of the mouse, deproject screen to world and doing a trace to find the location under the mouse. It does a trace in the general direction… and I can drop my item into the world - but the trace is always off!

I’ve also tried making a function on the player controller, using get mouse position, doing the trace there and sending back the hit results but that doesn’t work either.

Does the deproject take the camera FOV into account when finding world position/direction? What am I doing wrong here?

A-ha!

Screen space position is returned as absolute coordinates and must be converted to the viewport’s actual location. Now dropping items on exact spots is perfect when in windowed!