* OS: Windows 10 and 11
* Unity version: 2020.3.31
* Graphics API: DirectX11
Steps To Reproduce
On PC1 in a local network:
Run webserver with command .\webserver -w in powershell
In Unity, open the 'Broadcast sample' scene.
In the RenderStreaming gameobject, add a SingleConnection component.
Create a script called SingleConnectionSample with following code and add it as a component on the RenderStreaming gameobject. ( It's basically the 'BroadcastSample' script adapted for single connection with a connection created over a connection ID)
In the RenderStreaming component make the following changes:
Signalling Type: WebSocketSignalling
Signalling URL: ws://{PC1's ipv4 address}
Remove the Broadcast handler and add the SingleConnection handler in the List of Handlers
Set 'Run On Awake' to True
On PC2 in the same local network:
Open Unity with the receiver sample.
In the RenderStreaming component make the following changes:
Signalling Type: WebSocketSignalling
Signalling URL: ws://{PC1's ipv4 address}
Set 'Run On Awake' to True
3.Press Play, enter ID 111 and press Start.
Back again on PC 1
Press Play
Current Behavior
When PC2( Single connection input sender) connects first and PC1(Single connection input receiver ) connects second, input data is not received by the Input Receiver
Only if PC1(Single connection input receiver ) connects first and PC2 ( Single connection input sender) connects second, then only does the input receiver receive input data.
Expected Behavior
Input Receiver ( single connection ) receives data from an input sender (single connection) irrespective of which one connects first.
Package version
3.1.0-exp.3
Environment
Steps To Reproduce
On PC1 in a local network:
SingleConnectionSample
On PC2 in the same local network:
3.Press Play, enter ID 111 and press Start.
Back again on PC 1
Current Behavior
When PC2( Single connection input sender) connects first and PC1(Single connection input receiver ) connects second, input data is not received by the Input Receiver
Only if PC1(Single connection input receiver ) connects first and PC2 ( Single connection input sender) connects second, then only does the input receiver receive input data.
Expected Behavior
Input Receiver ( single connection ) receives data from an input sender (single connection) irrespective of which one connects first.
Anything else?
No response