Skip to content

Conversation

@K-Tone
Copy link
Collaborator

@K-Tone K-Tone commented Nov 14, 2025

Description

Here we remove the UNITY_INPUT_SYSTEM_INPUT_ACTIONS_EDITOR_AUTO_SAVE_ON_FOCUS_LOST compile time define that theoretically allowed to have the Input package to be compiled without this feature but instead have it save on every change in the editor windows. The define has been set by default for a while so we're confident it's time to remove this bit of variability.

Testing status & QA

Local compilation

Overall Product Risks

  • Complexity: Low
  • Halo Effect: Low

Comments to reviewers

Please describe any additional information such as what to focus on, or historical info for the reviewers.

Checklist

Before review:

  • Changelog entry added.
    • Explains the change in Changed, Fixed, Added sections.
    • For API change contains an example snippet and/or migration example.
    • JIRA ticket linked, example (case %%). If it is a private issue, just add the case ID without a link.
    • Jira port for the next release set as "Resolved".
  • Tests added/changed, if applicable.
    • Functional tests Area_CanDoX, Area_CanDoX_EvenIfYIsTheCase, Area_WhenIDoX_AndYHappens_ThisIsTheResult.
    • Performance tests.
    • Integration tests.
  • Docs for new/changed API's.
    • Xmldoc cross references are set correctly.
    • Added explanation how the API works.
    • Usage code examples added.
    • The manual is updated, if needed.

During merge:

  • Commit message for squash-merge is prefixed with one of the list:
    • NEW: ___.
    • FIX: ___.
    • DOCS: ___.
    • CHANGE: ___.
    • RELEASE: 1.1.0-preview.3.
@K-Tone K-Tone changed the title Anthony/remove auto save on focus lost define CHANGE: Auto-save on focus lost can no longer be compiled out Nov 14, 2025
@K-Tone K-Tone marked this pull request as ready for review November 14, 2025 12:11
@u-pr-agent
Copy link
Contributor

u-pr-agent bot commented Nov 14, 2025

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪

The PR is a straightforward cleanup, primarily removing conditional compilation directives and associated dead code, which requires minimal review effort.
🏅 Score: 95

The code quality is improved by removing dead code and simplifying logic, which enhances maintainability. The changes are correct and low-risk.
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected
  • Update review

🤖 Helpful? Please react with 👍/👎 | Questions❓Please reach out in Slack #ask-u-pr-agent

@K-Tone K-Tone requested a review from jfreire-unity November 14, 2025 12:12
@u-pr-agent
Copy link
Contributor

u-pr-agent bot commented Nov 14, 2025

PR Code Suggestions ✨

No code suggestions found for the PR.

@K-Tone
Copy link
Collaborator Author

K-Tone commented Nov 14, 2025

CC @Pauliusd01 - here is some more cleanup, no functionality changed hopefully. Do you want to be a reviewer or is it enough to have you mentioned for viz?

@codecov-github-com
Copy link

codecov-github-com bot commented Nov 14, 2025

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...Editor/UITKAssetEditor/InputActionsEditorWindow.cs 0.00% 2 Missing ⚠️
@@ Coverage Diff @@ ## develop #2282 +/- ## =========================================== + Coverage 76.81% 76.83% +0.01%  =========================================== Files 476 476 Lines 88726 88831 +105 =========================================== + Hits 68155 68251 +96  - Misses 20571 20580 +9 
Flag Coverage Δ
inputsystem_MacOS_2022.3 5.53% <0.00%> (+0.13%) ⬆️
inputsystem_MacOS_2022.3_project 75.40% <0.00%> (+0.70%) ⬆️
inputsystem_MacOS_6000.0 5.31% <0.00%> (+0.13%) ⬆️
inputsystem_MacOS_6000.0_project 77.32% <0.00%> (+0.72%) ⬆️
inputsystem_MacOS_6000.2 5.31% <0.00%> (+0.13%) ⬆️
inputsystem_MacOS_6000.2_project 77.32% <0.00%> (+0.72%) ⬆️
inputsystem_MacOS_6000.3 5.31% <0.00%> (+0.13%) ⬆️
inputsystem_MacOS_6000.3_project 77.32% <0.00%> (+0.72%) ⬆️
inputsystem_MacOS_6000.4 5.32% <0.00%> (+0.13%) ⬆️
inputsystem_MacOS_6000.4_project 77.33% <0.00%> (+0.72%) ⬆️
inputsystem_MacOS_6000.5 5.32% <0.00%> (+0.13%) ⬆️
inputsystem_MacOS_6000.5_project 77.33% <0.00%> (+0.71%) ⬆️
inputsystem_Ubuntu_2022.3 5.53% <0.00%> (+0.13%) ⬆️
inputsystem_Ubuntu_2022.3_project 75.20% <0.00%> (+0.70%) ⬆️
inputsystem_Ubuntu_6000.0 5.31% <0.00%> (+0.13%) ⬆️
inputsystem_Ubuntu_6000.0_project 77.13% <0.00%> (+0.72%) ⬆️
inputsystem_Ubuntu_6000.2 5.31% <0.00%> (+0.13%) ⬆️
inputsystem_Ubuntu_6000.2_project 77.13% <0.00%> (+0.72%) ⬆️
inputsystem_Ubuntu_6000.3 5.32% <0.00%> (+0.13%) ⬆️
inputsystem_Ubuntu_6000.3_project 77.12% <0.00%> (+0.71%) ⬆️
inputsystem_Ubuntu_6000.4 5.32% <0.00%> (+0.13%) ⬆️
inputsystem_Ubuntu_6000.4_project 77.14% <0.00%> (+0.72%) ⬆️
inputsystem_Ubuntu_6000.5 5.32% <0.00%> (+0.13%) ⬆️
inputsystem_Ubuntu_6000.5_project 77.14% <0.00%> (+0.72%) ⬆️
inputsystem_Windows_2022.3 5.53% <0.00%> (+0.13%) ⬆️
inputsystem_Windows_2022.3_project 75.53% <0.00%> (+0.71%) ⬆️
inputsystem_Windows_6000.0 5.31% <0.00%> (+0.13%) ⬆️
inputsystem_Windows_6000.0_project 77.45% <0.00%> (+0.72%) ⬆️
inputsystem_Windows_6000.2 5.31% <0.00%> (+0.13%) ⬆️
inputsystem_Windows_6000.2_project 77.45% <0.00%> (+0.72%) ⬆️
inputsystem_Windows_6000.3 5.31% <0.00%> (+0.13%) ⬆️
inputsystem_Windows_6000.3_project 77.45% <0.00%> (+0.72%) ⬆️
inputsystem_Windows_6000.4 5.32% <0.00%> (+0.13%) ⬆️
inputsystem_Windows_6000.4_project 77.45% <0.00%> (+0.72%) ⬆️
inputsystem_Windows_6000.5 5.32% <0.00%> (+0.13%) ⬆️
inputsystem_Windows_6000.5_project 77.45% <0.00%> (+0.72%) ⬆️

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

Files with missing lines Coverage Δ
...KAssetEditor/InputActionsEditorSettingsProvider.cs 0.00% <ø> (ø)
...Editor/UITKAssetEditor/InputActionsEditorWindow.cs 49.31% <0.00%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants