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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
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