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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
Add comment