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
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
Add comment