Skip to content

fix: Yamato jobs not testing built player (Backport of: #4194) - #4196

Open
EmandM wants to merge 2 commits into
develop-2.0.0from
backport/fix/yamato-jobs
Open

EmandM wants to merge 2 commits into
develop-2.0.0from
backport/fix/yamato-jobs

Conversation

@EmandM

@EmandM EmandM commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Purpose of this PR

Backport of #4194

Jira ticket

n/a

Changelog

  • Fixed: improved the CI

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

Does the change require QA team to:

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

If any boxes above are checked the QA team will be automatically added as a PR reviewer.

Up-port

Up-ported by #4194

Backports

The core issue was the CMB tests which don't exist on 1.x. Not sure it's worth backporting this to 1.x

* fix: Yamato jobs not testing built player

* Next round of fixes

* Set addressables to build on players

* dotnet-fix

* Fix console tests

* Try again to remove graphics from desktop players

* Fix DA NetworkObjectDeserializationFailure test

* Remove the temporarily added N4E settings

* Fix the test failures

* Remove fix that was more a symptom than a cause (keep it simple)

* Match the deregistration to the registration logic

* Don't finish cleaning up if any scene is still loading

* Fix the U-PR config

* Fix IL2CPP player tests
@EmandM
EmandM requested review from a team and NoelStephensUnity as code owners October 19, 2026 13:53
@EmandM EmandM mentioned this pull request Oct 19, 2026
2 of 6 tasks

@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

Needs changes

The change switches standalone CI to prebuilt-player execution and adjusts runtime test setup, cleanup, and platform coverage.

Reviewed commit 5b4291b

🤖 Helpful? 👍/👎

Comment thread .yamato/desktop-standalone-tests.yml Outdated
commands:
- unity-downloader-cli --fast --wait -u {{ editor }} -c Editor {% if backend == "il2cpp" %} -c il2cpp {% endif %}
- UnifiedTestRunner --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --scripting-backend={{ backend }} --testfilter="Unity.Netcode.RuntimeTests.*" --player-save-path=build/players --artifacts-path=artifacts --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only --timeout={{ test_timeout }}
- unity-downloader-cli --fast --wait -u {{ editor }} -c Editor {% if backend == "il2cpp" %} -c il2cpp {% endif %}{% if backend == "coreclr" %}{% unless coreclr_runtime_editors contains editor %} -c {{ platform.coreclr_component }} {% endunless %}{% endif %} --arch {{ platform.architecture }}

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.

P1

Desktop standalone builds fail before testing because the downloader receives --arch without a value. None of the test_platforms.desktop entries in .yamato/project.metafile defines architecture. Consequently, {{ platform.architecture }} renders empty, leaving a bare --arch argument. Both desktop and CMB test jobs depend on these builds, including the Ubuntu IL2CPP jobs triggered for pull requests. Define architecture for every desktop entry, using x64 for Ubuntu and Windows and arm64 for macOS.

🤖 Helpful? 👍/👎

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.

yeah, that's the cause of failing job but rest looks good

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Was a bad merge! Fixed it now

@NoelStephensUnity NoelStephensUnity left a comment

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.

LGTM!

@codecov-github-com

codecov-github-com Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

@@                Coverage Diff                @@
##           develop-2.0.0    #4196      +/-   ##
=================================================
- Coverage          74.22%   74.20%   -0.02%     
=================================================
  Files                172      172              
  Lines              28200    28200              
=================================================
- Hits               20931    20926       -5     
- Misses              7269     7274       +5     
Flag Coverage Δ
NGOv2_project_testproject_ubuntu 73.86% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 2 files with indirect coverage changes

Components Coverage Δ
com.unity.netcode.gameobjects 74.20% <ø> (-0.02%) ⬇️

ℹ️ Need help interpreting these results?

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.

3 participants