ShooterGame demonstrates the issue where when encryption is enabled, if the (unencrypted) EncryptionAck message is dropped, the resent messages will be encrypted since the server has enabled encryption at that point. The fix is to add & utilize FNetDelegates::OnPendingNetGameConnectionCreated instead of ReceivedNetworkEncryptionAck for setting the key, so that the key would be set before any messages from the server arrived on the client.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-95508 in the post.
0 |
Component | UE - Networking |
---|---|
Affects Versions | 4.25.2 |
Created | Jul 17, 2020 |
---|---|
Resolved | Jul 19, 2022 |
Updated | Jul 19, 2022 |