EventSystem does not clear m_CurrentInputModule when the active InputModule is disabled, causing Process() to continue executing
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with BaseInputModule.OnDisable() and follow m_EventSystem.UpdateModules(), then compare the handling of m_SystemInputModules with m_CurrentInputModule during Process(). Reproduce disabling the active input module and determine the expected behavior; the issue is complete when the cause and desired fix are clearly documented or a focused change is specified.
Written by the indexing model from the issue text.
Description
BaseInputModule.OnDisable() calls m_EventSystem.UpdateModules(), which removes the module from m_SystemInputModules. However, m_CurrentInputModule is a separate reference that is never checked or cleared in this path.I just want to know why.
- Dominant language
- C#
- Stars
- 1.6k
- Forks
- 323
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Unity-Technologies/uGUI
-
> - [ ] Open
Difficulty 5/5 Over a week Newbie friendliness 1/100
Unity-Technologies/uGUI#22 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Unity-Technologies/uGUI#17 ·
-
When clicking on a mobile platform, some gameobject will trigger OnEnter event without OnExit event Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Unity-Technologies/uGUI#16 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Unity-Technologies/uGUI#15 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Unity-Technologies/uGUI#13 ·
All issues in Unity-Technologies/uGUI
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·