Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.4.0b15
Issue ID
788877
Regression
No
Runtime test UNetHandlesMaxConnectionsOverflow fails on different platforms
Different error-messages when setting 65535 and 65539 (both not allowed) to m_MaxDefaultConnections in HostTopology
How we can reproduce it
1 When you do
m_MaxConnections = 65535;
m_Topology = new HostTopology(m_Config, m_MaxConnections);
m_ServerId = NetworkTransport.AddHost(m_Topology, m_ListenPort);
it gives errors:
"Assertion failed on expression: 'connectionNum < 0xFFFF && connectionNum != 0'"
"Number of connections should be > 0 and < 65535"
-----
2 When you do
m_MaxConnections = 65537;
m_Topology = new HostTopology(m_Config, m_MaxConnections);
m_ServerId = NetworkTransport.AddHost(m_Topology, m_ListenPort);
it gives errors:
"count connection should be < 65535"
"Parameter name: maxDefaultConnections"
Expected result: the error-messages should be the same in both cases
addition:
on android and MacStandalone sometimes this message appears (see Case 789878):
"Number of connections should be > 0 and < 65535"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment