Skip to content

Bumps Unity version from 2022.3.4f1 to 6000.0.49f1 #516

Closed
ViMaSter wants to merge 4 commits into
developfrom
unity-update
Closed

Bumps Unity version from 2022.3.4f1 to 6000.0.49f1 #516
ViMaSter wants to merge 4 commits into
developfrom
unity-update

Conversation

@ViMaSter
Copy link
Copy Markdown
Member

@ViMaSter ViMaSter commented May 17, 2025

Summary

Updates to Unity 6.

  • TextMesh Pro prompted me to install new default assets as they've changed between Unity versions, hence a few new files
  • Unity changed the template of auto-generated files

PlayMode tests currently fail after updating with no code changes; Unity was made aware of this via a Bug Report: https://unity3d.atlassian.net/servicedesk/customer/portal/2/IN-102384
Appreciate any suggestions for potential workarounds.

Testing instructions

No gameplay changes; tests should succeed, and the game can be completed as before.

Additional information

  • [ ] Changes UI
  • [ ] Introduces new feature
  • [ ] Removes existing feature
  • [x] Has associated resource:

@codecov
Copy link
Copy Markdown

codecov Bot commented May 17, 2025

Codecov Report

Attention: Patch coverage is 5.88235% with 64 lines in your changes missing coverage. Please review.

Project coverage is 57.86%. Comparing base (90f688d) to head (b259409).
Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
unity-ggjj/Assets/Scripts/Input/DebugControls.cs 10.81% 33 Missing ⚠️
...ts/Scripts/Input/Controls/Cheats/CheatsControls.cs 0.00% 31 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (90f688d) and HEAD (b259409). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (90f688d) HEAD (b259409)
PlayModeTests_Suites_Scenes 1 0
PlayModeTests_Suites_Playthrough 1 0
Additional details and impacted files
@@             Coverage Diff              @@
##           develop     #516       +/-   ##
============================================
- Coverage    77.23%   57.86%   -19.37%     
============================================
  Files           95       95               
  Lines         3206     3242       +36     
============================================
- Hits          2476     1876      -600     
- Misses         730     1366      +636     
Flag Coverage Δ
EditModeTests_Suites_Core 15.14% <0.00%> (-0.18%) ⬇️
EditModeTests_Suites_TextDecoder 15.94% <0.00%> (-0.18%) ⬇️
PlayModeTests_Suites_Playthrough ?
PlayModeTests_Suites_Scenes ?
PlayModeTests_Suites_Scripts 43.64% <5.88%> (?)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ViMaSter ViMaSter marked this pull request as draft May 20, 2025 01:56
@ViMaSter ViMaSter self-assigned this May 22, 2025
@ViMaSter ViMaSter requested a review from Copilot May 22, 2025 06:52
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the project to Unity 6 (6000.0.49f1), pulling in updated TextMesh Pro defaults and regenerating input‐system wrappers to match the new Unity toolchain.

  • Bump Unity version in docs, CI and project settings
  • Update TextMesh Pro shader to the new default template (mask softness, UV unpacking, gamma fixes)
  • Regenerate InputAction‐based input wrappers (new callbacks API, initialStateCheck flags)

Reviewed Changes

Copilot reviewed 70 out of 70 changed files in this pull request and generated 2 comments.

File Description
Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap-Custom-Atlas.shader Adopt new mask‐softness uniforms, remove old UV unpack
README.md Update Unity version link and install instructions
.github/workflows/build_and_test.yml Bump unityVersion to 6000.0.49f1
Assets/Scripts/Input/DebugControls.cs Regenerated input‐system wrapper with improved APIs
Comments suppressed due to low confidence (1)

README.md:29

  • [nitpick] Fix markdown list nesting: replace the double dash prefix with proper two-space indentation and a single dash (e.g., - Click on ...) to render the nested list correctly.
-  - Click on the `Unity 6` button, click on the `LTS` button, scroll to `Unity 6000.0.49f1` and click on the blue `INSTALL` button to download

Comment thread unity-ggjj/Assets/Scripts/Input/DebugControls.cs
@ViMaSter
Copy link
Copy Markdown
Member Author

ViMaSter commented Nov 8, 2025

Marked as wontfix by Unity upstream; will revisit this, once there's significant updates to the InputSystem: https://issuetracker.unity3d.com/issues/ui-selectables-onclick-slash-submit-event-is-not-triggered-when-using-inputtestfixture-with-a-mock-keyboard-in-test-runner

@ViMaSter ViMaSter closed this Nov 8, 2025
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.

Upgrade to Unity 6

2 participants