Hello,
In NetConnection.cpp, whenever UE_NET_TRACE_CONNECTION_UPDATED is called, it is called with connection id 1. This is due to the ‘&&’ which should be replaced with ‘;’ at UNetConnection::NotifyConnectionUpdated L850.
if (const uint32 MyConnectionId = GetConnectionHandle().GetParentConnectionId() && OwningActor && RemoteAddr)
vv
if (const uint32 MyConnectionId = GetConnectionHandle().GetParentConnectionId(); MyConnectionId && OwningActor && RemoteAddr)
The MyConnectionId assignation should perhaps be moved outside the ‘if’ for readability at this point though.
Relevant documentation: if statement - cppreference.com
Thank you.
[Attachment Removed]