UnityRenderStreaming icon indicating copy to clipboard operation
UnityRenderStreaming copied to clipboard

[BUG]: Multiple web clients but input only works on the first web client

Open hiverlab-dev opened this issue 1 year ago • 0 comments

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

  1. Setup base URP project
  2. Create scene following Creating The Scene instructions
  3. Configure render streaming components: SignalingManager, Broadcast, VideoSender, VideoReceiver, InputReceiver
  4. Add a button
  5. Add code to move and rotate camera using keyboard and mouse controls
  6. Run project and open at least 2 web clients
  7. Click on the button or move camera using keyboard and mouse controls on the first client (Input events work as expected)
  8. 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?

  1. Render Streaming Config renderstreaming_config
  2. Render Streaming Settings renderstreaming_settings
  3. 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. baseproject

hiverlab-dev avatar Apr 03 '24 01:04 hiverlab-dev