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 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
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.