"Set Focus to Game Viewport" node broken

Hello ,

Have you tried using “Set input mode Game only” node to focus viewport on server?

Isn’t “Set input mode Game only” node also client only?

I’m having similar issue. I’m using editable textbox for chat and after sending message I can’t return focus to viewport.

Hello ,

I must have missed that part of tool tip. Could you send me a screen shot of blueprint that you are having issues with?

Hello! I had same problem with having to click one extra time for focus to switch/clear. My fix was that button i clicked had “Is Focusable” on, So button withing widget was in focus before my new widget got focus.
Turned off focus on buttons then no more extra click required!

1 Like

Hello jordylakiere,

After testing Set input mode Game only on our end this appears to work both on client and on server. I hope that this information helps.

Make it a great day

Would also love to know this. How do you set focus back to viewport on a listen server?

Would also like to know this, how should you set focus back on a listen server ?

Is it maybe related to coding error apparently present in Input Mode nodes at one point?
External Link

Editing replies still does not work for me in any browser so far… anyways, 2 things:

A:
Right after I wrote this reply I kinda found a solution for me. I made a chat to open with T but when I closed it I called focus to gameport node but it didn’t do much to help to point I couldn’t open chat again with T. Game is cursor based with clickable UI elements so Input mode to Game Only was not an option.
Then I realized I can just reset afterwards. So I set to GameOnly and then immediately to UI and Game and it worked. Yay. Hope it helps someone.

B:
Apr 16 didn’t imply April 2016 to me since US date format is MM/dd/YYYY I didn’t even remotely think that was year (lots of systems omit Year when date is from current one, I guess I got too used to that) but what’s done is done. I have a tendency to go necroposting I guess but at least always in topics that are still relevant.

It realy works for me

Hi

Using same setup as image you shared, SetFocusToGameViewport works without needing to click in viewport. Are there any steps or setup that you may have left out? Are you able to reproduce this behavior in a new project, or does issue only occur in your current project?

“Set Input Mode Game Only” works for me instead of the “Set Focus to Game Viewport”. Thanks for the solution~!!!