EpicGamesExt / PixelStreamingInfrastructure

The official Pixel Streaming servers and frontend.
MIT License
188 stars 71 forks source link

Mouse Click + Panning not being recognized in a certain condition #166

Open bakermanbrian opened 1 month ago

bakermanbrian commented 1 month ago

Component your question relates to

Question

I've run into an issue in my pixel streaming project where when I access a server on mobile, then access the same server on Desktop, that, until I click a UMG button in my game, my mouse click + panning isn't being recognized by my game. It works fine on Desktop, it then works fine on the mobile touch, but it stops working when I then went from mobile to Desktop. I am using Flags.MatchViewportResolution.

lukehb commented 1 month ago

What versions of everything are you running?

UE version? PS Infra version?

bakermanbrian commented 1 month ago

5.4.2 and 5.4 branch

lukehb commented 1 month ago

They are both streaming at the same time, or one, then you close it, then open the other one? I am having trouble reproducing it, could you send a minimum example UE project?

bakermanbrian commented 1 month ago

Hey @lukehb it is the same stream, accessed from Mobile then Desktop (so close the mobile connection, then open the Desktop). This is with screen resizing turned on. I can see if I can get a minimum UE project with the issue I can share.

lukehb commented 1 month ago

Thanks a repro project would be much appreciated. Is the screen resizing option required to reproduce the issue?

bakermanbrian commented 1 month ago

Hey @lukehb believe it is. I can share a project, is there a private way I could do that? Feel free to email me brian at archilabs dot ai and I can send it there.

lukehb commented 1 month ago

Sent you an email!

lukehb commented 1 month ago

@MWillWallT When you get a chance can you share your repro attempt here (I passed you a link to this project)?

MWillWallT commented 2 weeks ago

Hi there! Thank you for your patience

So I've attempted to reproduce the issue a number of times using the provided project. To summarise the reproduction steps:

Connect via mobile with Match viewport enabled Play around, then disconnect Connect to stream via desktop Mouse click and panning should not work

However I found that on every connection from desktop, there was no issue with mouse input, both click and pan were working as intended. I've made sure to match the UE and infra versions as reported.

IF we could get a video demonstration or more information that would be lovely