ProjectWorldToScreen always returns false in VR

Hello, I was trying to get the project world to screen position while in VR using a widget component and widget interaction component and it kept returning a value of 0.0,0.0 and the boolean return value was always false. So I went digging through the source code and found that ProjectWorldToScreen was always returning false at the first if statement because the Result.W always returns a negative number. If anybody has a solution or any help would be appreciated! :smiley:

Steps to reproduce using the VR template:

  1. New Actor with widget component and PickupActorInterface

  2. New widget blueprint with any widgets that can cause collision to occur.

  3. Create a new function or event, similar to the below image

  4. Back in the actor copy the below image


Blueprint code Images:

Hello Oldsiren,

Might be related to Unreal Engine Issues and Bug Tracker (UE-57273)

Let me know if you’re still seeing this in 4.20!

Will do! :smiley: