Skip to content

[MTT-14843] Refactor sending and receiving of N4E RPCs in UnifiedNetcodeTransport to not use entities#3943

Open
ShadauxCat wants to merge 1 commit intoexperimental/v3-x-x/unifiedfrom
experimental/v3-x-x/unified-kitty
Open

[MTT-14843] Refactor sending and receiving of N4E RPCs in UnifiedNetcodeTransport to not use entities#3943
ShadauxCat wants to merge 1 commit intoexperimental/v3-x-x/unifiedfrom
experimental/v3-x-x/unified-kitty

Conversation

@ShadauxCat
Copy link
Copy Markdown
Collaborator

Purpose of this PR

Refactors sending and receiving of N4E RPCs in the UnifiedNetcodeTransport to not use entities. This removes the need to include a ulong encoding message order and to do message reordering logic on the receiving side.

In addition, I also moved the location where we call NetworkMessageManager.ProcessSendQueue() to be right before N4E processes their send queue. In the place it was previously (PostLateUpdate), N4E wouldn't process anything we sent until the next frame.

Jira ticket

MTT-14843

…reserving send/receive order without having to encode an order value and reorder messages on the receive side.
@ShadauxCat ShadauxCat requested a review from a team as a code owner April 17, 2026 16:41

#if !UNIFIED_NETCODE
// Process outbound messages
MessageManager.ProcessSendQueues();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm, should we be also checking the transport here? Are we allowing users to still use UnityTransport as normal? Or are you forced into the UnifiedTransport?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants