Description
Package version
3.1.0-exp.7
Environment
* OS: Windows 11
* Unity version: 2022.3.3f1
* Graphics API: DirectX 11
* Browser: Google Chrome 116.0.5845.97, Microsoft Edge 115.0.1901.203
Steps To Reproduce
- Download and run the WebServer.exe.
- Open the Broadcast sample scene.
- Set the application framerate to a fixed value below 9, e.g. by adding
Application.targetFrameRate = 5;
toBroadcastSample.Awake()
. - Play the Broadcast scene.
- Start a browser window and navigate to the URL given by the WebServer.exe.
- Open the Receiver page.
- Start streaming.
Current Behavior
Input via browser does not work.
Mouse movement and clicking are not recognized (the pointer graphics does not move with the mouse cursor and it doesn't turn red on click) and keyboard input is also not reacting.
Sometime the dropdown buttons get darker when the mouse cursor moves over it (though the pointer graphics still does not follow the cursor), but this is very sporadically and clicks are not recognized either.
Expected Behavior
Input works at very low framerates. Mouse movement, clicking and keyboard input is always recognized, independent of the game's framerate.
Anything else?
For me the breakpoint is at 8.5 FPS. Anything below this will for sure break input.
JFYI, I am talking about the game framerate, not the streaming framerate. Setting the streaming framerate to 5 FPS (e.g. via the dropdown in the example) works fine and does not break input. It's really the game's FPS that need to be below 9 FPS.