Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: NetworkTransform Mixed Unreliable & Reliable Order of Operations (…
…#2777) * fix - This resolves an issue with mixing reliable and unreliable messages that could impact teleporting if a state delta was sent prior to teleporting on the same NetworkTick within the same frame. - The staggered tick for axis sync was not including the current server tick as part of its initial value causing a frame synch every other tick. - Ignoring any new state update that has a tick value lower than the last/old state update when using unreliable deltas. * update - increasing time out period - Did some clean up and fixed some issues with the one at a time NetworkTransformTest. - Renamed m_SetNetworkTransformState to TeleportingNetworkTransformState and made it internal for testing purposes. - When explicitly setting state, it now is cumulative regarding flag states (i.e. it does not send outside of the tick event generated window). - Making explicitly set states persist the exact state at the time it was set in order to assure no additional transform modifications are updated implicitly. - Updated several test projects that still had references to the UNet component which no longer exists in 2021. - Switching from ReliableFragmentedSequenced to ReliableSequenced. * test - Cleaned up the packet loss test and running it at the default tick rate. - Added a test to validate that when teleporting on the same tick and frame that an unreliable delta state update was sent that the teleport state update is deferred to the next tick. - Includes several fixes for issues with NetworkTransform tests and with the initial unreliable delta state update changes. - Condensed the packet loss and standard network transform commonly shared code into a single NetworkTransformBase class. - Added TestMultipleExplicitSetStates test to validate explicitly setting state multiple times within the same fractional tick period will be preserved and propogate out on the next upcoming tick. - Fixed some issues with the TestRotationThresholdDeltaCheck test. - Updated NetcodeIntegrationTest to provide a generic test relative TimeTravelAdvanceTick to assure all tests are operating at their set frame rate and tick values. - Excluding the packet loss test for UTP v2.x.
- Loading branch information