FIX: OnScreenStick isolated dynamic origin hit detection.#2341
FIX: OnScreenStick isolated dynamic origin hit detection.#2341AswinRajGopal wants to merge 3 commits intodevelopfrom
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 |
PR Code Suggestions ✨Explore these optional code suggestions:
🤖 Helpful? Please react with 👍/👎 | Questions❓Please reach out in Slack #ask-u-pr |
|||||||||
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## develop #2341 +/- ##
========================================
Coverage 77.95% 77.95%
========================================
Files 476 476
Lines 97453 97499 +46
========================================
+ Hits 75971 76008 +37
- Misses 21482 21491 +9 Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
/test_plan |
Test Plan
Summary of Changes & Risk AssessmentSummary of ChangesThis PR fixes a bug 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 |
Description
Bug: https://issuetracker.unity3d.com/issues/inputsystems-onscreenstick-behaves-differently-when-using-exactpositionwithdynamicorigin-and-isolated-input-actions-enabled-slash-disabled
With isolated input actions enabled,
OnScreenStickonly accepted raycast hits on the stick’s root object. In dynamic origin mode the raycast actually hits the childDynamicOriginClickablegraphic which leads to the stick to ignore the press and never re-center.Fix is to treat raycast hits on any child of the stick as valid in isolated mode.
Testing status & QA
Manually verified with the repro steps provided in the case.
Overall Product Risks
Comments to 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.