-
Notifications
You must be signed in to change notification settings - Fork 328
CHANGE: Update InstanceID to EntityId for PlayerInputEditor.cs #2325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
CHANGE: Update InstanceID to EntityId for PlayerInputEditor.cs #2325
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
🤖 Helpful? Please react with 👍/👎 | Questions❓Please reach out in Slack #ask-u-pr-agent |
PR Code Suggestions ✨Explore these optional code suggestions:
🤖 Helpful? Please react with 👍/👎 | Questions❓Please reach out in Slack #ask-u-pr-agent |
|||||||||||
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## develop #2325 +/- ##
===========================================
- Coverage 77.95% 77.95% -0.01%
===========================================
Files 476 476
Lines 97453 97465 +12
===========================================
+ Hits 75971 75975 +4
- Misses 21482 21490 +8 Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
EmilieThaulow
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| return result; | ||
| } | ||
|
|
||
| m_ActionAssetInstanceID = -1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we set -1 to m_ActionAssetInstanceID if it won't be 0 after m_ActionAssetEntityId = assetEntityId; (see above lines)
|
/test_plan |
Test Plan
Summary of Changes & Risk AssessmentSummary of ChangesThis PR migrates the internal state tracking in Risk Assessment
Test ScenariosFunctional Testing
Regression Testing
🔍 Regression Deep Dive (additional risks identified)
Edge Cases
💡 This test plan updates automatically when 🤖 Helpful? Please react with 👍/👎 | Questions❓Please reach out in Slack #ask-u-pr-agent |
jfreire-unity
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing these!
Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput/PlayerInputEditor.cs
Outdated
Show resolved
Hide resolved
|
@Pauliusd01 I've found the PR that made this changes to |
Yeah it doesn't repro on 6.4 latest so just a false alarm from me |
Nice, else I assume CI would've picked it up :) |

Description
Update usage of
InstanceIDtoEntityIdfor some variables such asm_ActionAssetInstanceIDwithin PlayerInputEditor.cs file.Adding pragma warning as
FindObjectsSortModeandObject.FindObject*methods that depend onInstanceIDsort order are being deprecated in 6.4. (Following PR: https://github.cds.internal.unity3d.com/unity/unity/pull/89068)JIRA: https://jira.unity3d.com/browse/UUM-132063
Testing status & QA
Only CI, for QA use latest 6.5 editor version and check if you can trigger the warning:

Overall Product Risks
Please rate the potential complexity and halo effect from low to high for the reviewers. Note down potential risks to specific Editor branches if any.
Comments to reviewers
Please describe any additional information such as what to focus on, or historical info for the reviewers.
Checklist
Before review:
Changed,Fixed,Addedsections.Area_CanDoX,Area_CanDoX_EvenIfYIsTheCase,Area_WhenIDoX_AndYHappens_ThisIsTheResult.During merge:
NEW: ___.FIX: ___.DOCS: ___.CHANGE: ___.RELEASE: 1.1.0-preview.3.