Skip to content

chore: Make ILPP errors clickable - #4250

Open
EmandM wants to merge 2 commits into
develop-3.x.xfrom
chore/clickable-ilpp-errors
Open

EmandM wants to merge 2 commits into
develop-3.x.xfrom
chore/clickable-ilpp-errors

Conversation

@EmandM

@EmandM EmandM commented Nov 13, 2026

Copy link
Copy Markdown
Member

Purpose of this PR

Currently most of our ILPP errors are emitted without a source location. This PR updates the logic to emit a source location on the ILPP diagnostics. This makes ILPP diagnostic messages clickable in the editor. When you click on the error you're taking to the project source code that emitted the error.

Jira ticket

n/a

Changelog

  • Added: Clickable ILPP errors

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

n/a

Backports

This is a chore and so shouldn't be backported.

@EmandM
EmandM requested a review from a team as a code owner November 13, 2026 01:17

@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 change adds source locations to ILPP diagnostics and preserves originating members for serialization errors. I examined all changed call sites, symbol loading, source-location fallbacks, inherited-field handling, and RPC body rewriting.

Reviewed commit f7e2c9d

🤖 Helpful? 👍/👎

@codecov-github-com

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

@@                Coverage Diff                @@
##           develop-3.x.x    #4250      +/-   ##
=================================================
- Coverage          76.73%   76.72%   -0.02%     
=================================================
  Files                159      159              
  Lines              28101    28101              
=================================================
- Hits               21564    21561       -3     
- Misses              6537     6540       +3     
Flag Coverage Δ
NGOv2_project_testproject_ubuntu 75.76% <ø> (-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 76.72% <75.00%> (-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.

1 participant