Skip to content

fix: run the Pose cases of the RPC serialization tests - #4220

Open
NoelStephensUnity wants to merge 3 commits into
develop-3.x.xfrom
fix/rpc-pose-test-yield
Open

NoelStephensUnity wants to merge 3 commits into
develop-3.x.xfrom
fix/rpc-pose-test-yield

Conversation

@NoelStephensUnity

Copy link
Copy Markdown
Member

Purpose of this PR

The Pose cases of RpcTypeSerializationTests passed without running. Their branches called the coroutine helpers without yield return, so the RPCs were never sent or checked, and the NativeArray/NativeList cases never disposed their collections. Those collections are the 6 allocations left after #4219 in the unified suite's leak report.

PR Scope:

  • Adds the missing yield return to all four Pose branches: single value, managed array, NativeArray and NativeList.

Jira ticket

None.

Documentation

  • No documentation changes or additions were necessary.

Testing & QA (How your changes can be verified during release Playtest)

Functional Testing

Manual testing :

  • Manual testing done

Automated tests:

  • Covered by existing automated tests
  • Covered by new automated tests

RpcTypeSerializationTests: Server 132/132 and UnifiedServer 132/132 passed, with all Pose cases now running.

Does the change require QA team to:

  • Review automated tests?
  • Execute manual tests?
  • Provide feedback about the PR?

Up-port

Not needed: targets develop-3.x.x. The same Pose branches exist on develop-2.0.0 if a port is wanted.

Backports

None.

The Pose branches called the coroutine helpers without yield return, so the
Pose cases passed without running and their native collections were never
disposed.
@NoelStephensUnity
NoelStephensUnity requested a review from a team as a code owner October 27, 2026 14:02

@u-pr u-pr Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 Harness Review

Ship it

The four added yields correctly execute the existing Pose RPC test coroutines. I examined all changed branches, matching RPC methods, assertions, native collection disposal, and compilation guards; no actionable issues were found.

Reviewed commit a1a4505

🤖 Helpful? 👍/👎

@NoelStephensUnity
NoelStephensUnity enabled auto-merge (squash) October 27, 2026 17:45

This branch has not been deployed

No deployments
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