Set Mouse Position Regression

Reproduce:

  • Press P
  • Mouse position gets set running in PIE
  • Mouse position gets ignored and instead set to center in standalone (-game) or when packaged.

Workaround:

  • Add Delay node before SetMousePosition so that it gets called after next frame (but this is framerate dependent)

Regression:

  • Yes (In 4.13.2 it was working perfectly. SetMousePosition was added in 4.14 but I added the exact same function code on my 4.13 project since this is very useful)

Note:

May or may not have something to do with this 4.14 change:

If we are unable to set the focus immediately, possibly because the user is setting focus in the Construct callback before the widget is in the tree, we now update the Slate Operations FReply on Local Player to set focus in the next frame when it is more likely the widget will become focus-able.

Hello dgrieshofer,

I was able to reproduce this issue on our end. I have written up a report and I have submitted it to the developers for further consideration. I have also provided a link to the public tracker. Please feel free to use the link provide for future updates. Thank you for your time and information.

Link: Unreal Engine Issues and Bug Tracker (UE-38739)

Make it a great day