FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: Up-port from develop-2.0.0 from week 32/33 by michalChrobot · Pull Request #4141 · Unity-Technologies/com.unity.netcode.gameobjects · GitHub

chore: Up-port from develop-2.0.0 from week 32/33 - #4141

Open
michalChrobot wants to merge 6 commits into
develop-3.x.xfrom
up-port-develop-3-x-24-08
Open

chore: Up-port from develop-2.0.0 from week 32/33#4141
michalChrobot wants to merge 6 commits into
develop-3.x.xfrom
up-port-develop-3-x-24-08

Conversation

michalChrobot commented Aug 24, 2026
edited
Loading

Copy link
Copy Markdown
Member

Purpose of this PR

PR that up-ports PRs that landed during last 2 weeks or otherwise since we did the last up-port.
Note that I won't "squash and merge" and I will rather merge them separately as then in the future it will be easier to reason about PRs history.
Also not all commits are ported because some of them were up-ported already (picture shows the range of commits I was evaluating)

Jira ticket

N/

Documentation

N/A

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

Green CI

Up-port

This is an up-port

Backports

N/A

EmandM and others added 6 commits August 24, 2026 14:00
* fix: GC allocations

* Add message receive allocations test

* Revert the fix to check ILPP build fails the test

* Revert forced failure

* Remove gc checks on NetworkListTests
* Re-enabled ps5 and webgl

* ci: Add WebGL PlayMode test job (MTT-15569)

Split the WebGL CI into a build phase and a run phase. webgl-build.yml
now exposes the built player as a dedicated 'players' artifact, and a new
webgl-test.yml run job consumes it and executes the PlayMode tests inside
Firefox on a GPU-backed Ubuntu agent (Unity::VM::GPU, rtx2080). The Firefox
browser flags are passed explicitly so UTR does not attempt to download the
browser from Stevedore.

The run job is wired into the Nightly and Weekly (QV) triggers only, not
into PR triggers, since WebGL failures are infrequent and the build is slow.
Runtime RuntimePlatform.WebGLPlayer exclusions are intentionally deferred to
be added reactively after the first real CI run.

* corrected images

* disabled webgl test

* adjustments

* Removed WebGL changes

* reverted change

* added diagnostic for switch

* corrected Switch sdk version

* temporarily disabled switch

* corrected ticket description
Changde users exclusion to pattern exclusion in pr description check
* Updated changelog and package version for Netcode in anticipation of v2.13.1 release

* typo in build automation

* trunk shadow changes: com.unity.netcode.gameobjects [skip ci]

* Revert CHANGELOG changes

* Added UNITY_TEST_FRAMEWORK_1_7_OR_NEWER guard and UnityCoreClrExplicitDisabledAttributeShim.cs to make attribute usage possible

* corrected svc bot exclusion

---------

Co-authored-by: netcode-automation <svc-netcode-sdk@unity3d.com>
Co-authored-by: Michał Chrobot <michal.chrobot@unity3d.com>
Co-authored-by: PETS automation <299490404+pets-svc[bot]@users.noreply.github.com>
Co-authored-by: Emma <emma.mcmillan@unity3d.com>
Co-authored-by: unity-renovate[bot] <120015202+unity-renovate[bot]@users.noreply.github.com>

Copy link
Copy Markdown


Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

michalChrobot changed the title Up port develop 3 x 24 08 chore: Up-port from develop-2.0.0 from week 32/33 #4116 Aug 24, 2026
michalChrobot changed the title chore: Up-port from develop-2.0.0 from week 32/33 #4116 chore: Up-port from develop-2.0.0 from week 32/33 Aug 24, 2026

u-pr Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

💡 Harness Review

The allocation-focused runtime changes are generally coherent, but the new integration coverage is not excluded from a known failing CoreCLR configuration and two diagnostic/validation changes alter behavior incorrectly.

Reviewed commit c30cbc3

🤖 Helpful? 👍/👎


[TestFixture(HostOrServer.Host)]
[TestFixture(HostOrServer.DAHost)]
internal class MessageReceiveAllocationTests : NetcodeIntegrationTest

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This new Host/DAHost integration test creates a second network-manager instance (NumberOfClients is 1) and exercises RPC and NetworkVariable traffic, but it is not marked UnityCoreClrExplicitDisabled. The same change marks comparable multi-instance tests with UUM-149591, whose stated failure mode is that CoreCLR sessions cannot start/connect or time out. Consequently CoreCLR runs will schedule this test and fail or time out instead of skipping it. Add the matching exclusion to the class (or this test) until that issue is fixed.

🤖 Helpful? 👍/👎

return $"{entry.Key} | {entry.Value.Method.Name} | {invokePermission}";
}));
var invokePermission = permission;
networkManager.Log.Info(new Context(LogLevel.Developer, "RPC Table Contents").AddCollection(rpcsForBehaviour, entry => $"{entry.Key} | {entry.Value.Method.Name} | {invokePermission}"));

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

invokePermission is the permission of the single RPC that threw, but this callback is invoked once for every entry in rpcsForBehaviour. For a behaviour with mixed RPC permissions, an exception now produces a table claiming every RPC has the failing method's permission, making the diagnostic misleading precisely when it is needed. Look up permissionsTable[entry.Key] inside the callback, as the previous code did.

🤖 Helpful? 👍/👎

'svc-'
const skipUserPatterns = [
/^unity-renovate/,
/svc/

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This unanchored pattern bypasses description validation for any login containing svc, not just service accounts—for example, a normal author named alexsvcdev. That silently defeats the required-section gate for those PRs. Keep the intended service-account prefix semantics (such as /^svc-/) or list the specific accounts.

🤖 Helpful? 👍/👎

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL