UnityRenderStreaming
UnityRenderStreaming copied to clipboard
[BUG]: Multiple web clients but input only works on the first web client
Package version
3.1.0-exp.7
Environment
* OS: Windows 10 Pro 22H2
* Unity version: 2021.2.8f1
* Browser: Chrome 123.0.6312.86
Steps To Reproduce
- Setup base URP project
- Create scene following Creating The Scene instructions
- Configure render streaming components: SignalingManager, Broadcast, VideoSender, VideoReceiver, InputReceiver
- Add a button
- Add code to move and rotate camera using keyboard and mouse controls
- Run project and open at least 2 web clients
- Click on the button or move camera using keyboard and mouse controls on the first client (Input events work as expected)
- Click on the button or move camera using keyboard and mouse controls on the second client (Input events do not work at all)
Current Behavior
When setting up input for multiple clients, I found that the mouse, keyboard input events only work on the first web client.
Expected Behavior
Clicking on the button or moving camera using keyboard and mouse controls on every web client should work and input events on each web client should not affect other web clients.
Anything else?
- Render Streaming Config
- Render Streaming Settings
- Base project. When clicking on the button and moving camera using keyboard and mouse controls, input events only work on the first web client. Input events do not work on the other web clients.