Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
Votes
0
Found in
2021.3.25f1
2022.2.20f1
2023.1.0b17
2023.2.0a15
Issue ID
UUM-35990
Regression
No
Input Field stays selected in EventSystem when Input Field becomes inactive
Reproduction steps:
1. Open project “My project”
2. Open scene “Main”
3. Enter Play mode
4. Click on the Input Field on the left and observe the text above (“Toggling_inp”)
5. Press Enter
6. Observe the text above
Expected result: The text says “null” - once the input field is SetActive( false ), it is no longer selected in EventSystem.currentSelectedGameobject and calls its own OnDeselect method
Actual result: the text still says “Toggling_inp”
Reproducible with: 2021.3.25f1, 2022.2.20f1, 2023.1.0b17, 2023.2.0a15
Couldn’t test with: 2020.3.48f1 (can’t deactivate the Input Field)
Reproducible on: macOS Ventura 13.2.1 (Intel), Windows 10 (by the reporter)
Notes: Also reproducible in Standalone Player
Workaround: adding a listener to OnEndEdit that calls "EventSystem.current.SetSelectedGameObject( null )" and "OnDeselect(BaseEventData eventData)"
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “GUIStyle” and “NullReferenceException” errors thrown in the Console when opening Object Field during script compilation
- Reflections are visible on objects without Recursive Rendering when viewed through transparent parts of another object with Recursive Rendering and Alpha Clipping enabled
- Visual artifacts appear when using "clip" method in custom shader and running on GLES
- Scaled Backgrounds List and dropdown text are enabled while Scaled Backgrounds field is disabled in IMGUI Debugger window
- Editor crashes when large value is entered in Scaled Backgrounds field of IMGUI Debugger window
Resolution Note:
Thank you for bringing this issue to our attention. Unfortunately, after careful consideration, we will not be addressing your issue at this time, as we are committed to resolving other higher-priority issues and delivering the new UI system. Our priority levels are determined by factors such as the severity and frequency of an issue and the number of users affected by it. However, we know each case is different, so please continue to log any issues you find and provide any general feedback on our roadmap page to help us prioritize.
Forum announcement
https://forum.unity.com/threads/ui-toolkit-update-q3-2022.1329159/
Roadmap https://unity.com/roadmap/unity-platform/ui
Resolution Note (2023.2.X):
Thank you for bringing this issue to our attention. Unfortunately, after careful consideration, we will not be addressing your issue at this time, as we are committed to resolving other higher-priority issues and delivering the new UI system. Our priority levels are determined by factors such as the severity and frequency of an issue and the number of users affected by it. However, we know each case is different, so please continue to log any issues you find and provide any general feedback on our roadmap page to help us prioritize.
Forum announcement
https://forum.unity.com/threads/ui-toolkit-update-q3-2022.1329159/
Roadmap https://unity.com/roadmap/unity-platform/ui