Set Input Mode Game Only In Multiplayer

I encountered a strange problem when I wanted to make two players on the network Each Of them able to Interact And Open Widget , and when ‘A’ moves away, ‘B’ (who Started Interacting) his widget Will be hidden and input mode return game only.

When I Focus On Player ‘A’ (Window client 1) And Move It Away , Player (B)'s input transformed to game only And The Widget also Be Hidden
But In The Same Time Without warning I start controlling player ‘B’ (Window server 0) ???

I hope I explained well And This is the method I used :

I Think The Problem Is Here :

Video For Info :

I hope you help me find the solution :pray:

Your problem that focus changes from Windows window A to Windows window B by itself?
You don’t actually have a problem with the gameplay itself?

I think it could be considered a problem from gameplay, because when I press for example forward button in window A until I exit the collider the foward button transformed to player B And He continue walk foward

A Player?

No B Player Continue Walking And Also I can control it completely (Axis/Open widgets/jump…)

I have added a video For More Details

Set active widget window is your custom function?

Yes, Is This :

This one:
image

If it’s custom, what does it do?

No This Is From Unreal Is Widget Switcher Index

This solution was suggested to me by a friend and it seems logical :

I’ve discovered the solution Actually there is no problem here. This is what should happen. There are 2 players on a single computer, so there is a viewport. When you try this from different computers, you will realize that you do not have such a problem.
When player B ends overlap, you set Set Input Mode Game Only for player A (the one who started the interaction). It’s normal to be like this.

1 Like

I agree (should’ve said it at the start), but I haven’t been able to replicate your problem.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.