Search Issue Tracker
Won't Fix
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
- [Android] Error "Curl error 60: Cert verify failed. Certificate is not correctly signed by a trusted CA. UnityTls error code: 7" when using UnityWebRequest to connect to the server with a self-signed certificate
- DirectX11 errors are thrown and Shader becomes broken when connecting the subgraph containing the Sample Texture2DArray node to BaseColor
- Crash on burst.initialize.statics when exceeding the "Maximum Shadows on Screen" value in Player
- KeyNotFoundException error thrown in the Console when clicking on a button in a UIDocument
- A transparent material and an Ambient Occlusion material are rendered darker when using path tracing in HDRP
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