Skip to content

FIX: .inputactions Inspector help button opens a missing documentation page [UUM-149518] - #2471

Merged
Pauliusd01 merged 1 commit into
developfrom
fix/uum-149518-inputactionimporter-helpurl
Aug 12, 2026
Merged

FIX: .inputactions Inspector help button opens a missing documentation page [UUM-149518]#2471
Pauliusd01 merged 1 commit into
developfrom
fix/uum-149518-inputactionimporter-helpurl

Conversation

@Pauliusd01

Copy link
Copy Markdown
Collaborator

Description

Note

This pull request was generated automatically. Please review carefully before merging.

Selecting an .inputactions asset shows an Inspector help button labelled "Open Reference for Input Action Importer". UnityEngine.InputSystem.Editor.InputActionImporter, the ScriptedImporter that backs those assets, carried no [HelpURL] attribute, so UnityEditor fell back to the auto-generated documentation URL for the type. No page is published at that address, so clicking the button opened the documentation site's "Sorry... that page seems to be missing!" 404 page.

The class declaration now carries [HelpURL(InputSystem.kDocUrl + "/manual/action-assets.html")] next to its existing [ScriptedImporter(kVersion, InputActionAsset.Extension)] attribute, which is the pattern already used across the package for Inspector-visible types such as PlayerInput and InputSystemUIInputModule. Documentation~/action-assets.md already exists and covers what this importer's inspector exposes (the .inputactions asset, project-wide assignment, and "Generate C# API from actions"), so no documentation page had to be added.

Testing status & QA

  • Added Assets/Tests/InputSystem/APIVerificationTests.cs [Test] API_InputActionImporterHasHelpUrlToExistingManualPage, which also resolves the URL back to its Documentation~ markdown file so a future rename of the page is caught. The two existing help-URL tests filter to public MonoBehaviour types and therefore do not cover this importer.
  • Manual check per https://jira.unity3d.com/browse/UUM-149518: select an .inputactions asset and click the Inspector help button; it should open the Action Assets manual page rather than a 404.

Overall Product Risks

  • Complexity: low
  • Halo Effect: low (editor-only attribute added to a single internal importer type; no member, public API or serialised data touched)
  • Risk rating: 2/5 — Rating 2 because API_MonoBehaviourHelpUrlsAreValid filters to public MonoBehaviours so this URL stays unvalidated by CI; the target action-assets.md was verified present in Documentation~ and TableOfContents.md.

Comments to reviewers

If a narrower landing page is preferred, about-action-assets.html and generate-cs-api-from-actions.html are the alternatives.

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.

…n page [UUM-149518]

The Inspector help button shown when an .inputactions asset is selected ("Open Reference for Input Action Importer") lands on the documentation site's 404 page.

InputActionImporter, the ScriptedImporter backing .inputactions assets, carried no [HelpURL] attribute, so UnityEditor fell back to the auto-generated documentation URL for the type, which has no published page. The class declaration now carries [HelpURL(InputSystem.kDocUrl + "/manual/action-assets.html")] alongside its existing [ScriptedImporter] attribute, the same pattern already used for the package's other Inspector-visible types, pointing the button at the Action Assets manual page that covers what this importer's inspector exposes.

Jira: https://jira.unity3d.com/browse/UUM-149518
@Pauliusd01 Pauliusd01 self-assigned this Aug 11, 2026
@Pauliusd01
Pauliusd01 marked this pull request as ready for review August 11, 2026 12:19

@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 importer now declares a package manual HelpURL, and the accompanying API test verifies that it resolves to the existing action-assets documentation page. I examined the attribute usage, URL construction, documentation mapping, test path conventions, and changelog entry.

Reviewed commit 9fea82f

🤖 Helpful? 👍/👎

@codecov-github-com

codecov-github-com Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
Assets/Tests/InputSystem/APIVerificationTests.cs 90.90% 1 Missing ⚠️
@@             Coverage Diff             @@
##           develop    #2471      +/-   ##
===========================================
- Coverage    78.95%   78.95%   -0.01%     
===========================================
  Files          767      767              
  Lines       140780   140822      +42     
===========================================
+ Hits        111153   111180      +27     
- Misses       29627    29642      +15     
Flag Coverage Δ
inputsystem_MacOS_6000.0 5.31% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.0_project 77.49% <90.90%> (-0.01%) ⬇️
inputsystem_MacOS_6000.3 5.31% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.3_project 77.49% <90.90%> (-0.01%) ⬇️
inputsystem_MacOS_6000.5 5.30% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.5_project 77.54% <90.90%> (-0.01%) ⬇️
inputsystem_MacOS_6000.6 5.30% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.6_project 77.54% <90.90%> (-0.01%) ⬇️
inputsystem_MacOS_6000.7 5.30% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.7_project 77.54% <90.90%> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.0 5.31% <ø> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.0_project 77.40% <90.90%> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.3 5.31% <ø> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.3_project 77.39% <90.90%> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.5 5.30% <ø> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.5_project 77.45% <90.90%> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.6 5.30% <ø> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.6_project 77.45% <90.90%> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.7 5.30% <ø> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.7_project 77.45% <90.90%> (-0.01%) ⬇️
inputsystem_Windows_6000.0 5.31% <ø> (-0.01%) ⬇️
inputsystem_Windows_6000.0_project 77.61% <90.90%> (+0.04%) ⬆️
inputsystem_Windows_6000.3 5.31% <ø> (-0.01%) ⬇️
inputsystem_Windows_6000.3_project 77.61% <90.90%> (+0.04%) ⬆️
inputsystem_Windows_6000.5 5.30% <ø> (-0.01%) ⬇️
inputsystem_Windows_6000.5_project 77.67% <90.90%> (+0.04%) ⬆️
inputsystem_Windows_6000.6 5.30% <ø> (-0.01%) ⬇️
inputsystem_Windows_6000.6_project 77.67% <90.90%> (+0.04%) ⬆️
inputsystem_Windows_6000.7 5.30% <ø> (-0.01%) ⬇️
inputsystem_Windows_6000.7_project 77.67% <90.90%> (+0.04%) ⬆️

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

Files with missing lines Coverage Δ
...System/Editor/AssetImporter/InputActionImporter.cs 57.81% <ø> (ø)
Assets/Tests/InputSystem/APIVerificationTests.cs 89.83% <90.90%> (+0.04%) ⬆️

... and 2 files with indirect coverage changes

ℹ️ Need help interpreting these results?

@suearkinunity suearkinunity left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm not familiar with the mechanism behind the buttons, so I reviewed only the release note.

@VeraMommersteeg VeraMommersteeg left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm. failing test looks to be due to .net upgade missing. which is unrelated to these changes. the other failing test after rerunning was green. so it seems an instability

@Pauliusd01
Pauliusd01 merged commit f2c8a0b into develop Aug 12, 2026
105 of 107 checks passed
@Pauliusd01
Pauliusd01 deleted the fix/uum-149518-inputactionimporter-helpurl branch August 12, 2026 10:52
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