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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Add comment