Search Issue Tracker
Fixed
Fixed in 2021.3.10f1, 2022.1.12f1
Votes
1
Found in
2021.3.3f1
2022.1.1f1
Issue ID
UUM-1296
Regression
No
[Backport] "FocusController has unprocessed focus events" warnings are thrown when deactivating a UIDocument during an event cal
"FocusController has unprocessed focus events" warnings are thrown when deactivating a UIDocument during an event callback and interacting with UI Containers
How to reproduce:
1. Open the attached project "uiRepro"
2. Open the scene "BugScene" and enter Play mode (Assets/BugScene.unity)
3. In the Game view, click the button labeled "Deactivate"
4. Click anywhere inside the Game view
5. Open and inspect the Console window (Window > General > Console)
Expected result: No warnings are seen in the Console
Actual result: "FocusController has unprocessed focus events. Clearing." warning is seen in the Console
Reproducible with: 1.0.0-preview.15, 1.0.0-preview.18 (2021.1.28f1), Built-in (2021.2.4f1, 2022.1.0a16)
Could not test with: 2019.4.33f1 (No UI Toolkit Package available), 1.0.0-preview.18 (2020.3.23f1) (The type or namespace name 'UIDocument' could not be found), 1.0.0-preview.14 (2021.1.28f1) (''DefaultEditorWindowBackend' Console error)
Warning in the Console:
FocusController has unprocessed focus events. Clearing.
UnityEngine.UIElements.UIElementsRuntimeUtilityNative:UpdateRuntimePanels () (at /Users/bokken/buildslave/unity/build/Modules/UIElementsNative/UIElementsUtility.bindings.cs:26)
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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
Fly81
Jan 19, 2024 15:27
I can also confirm this bug, happening in 2022.3 when opening a collapsed Overlay in the SceneView and then clicking out of the SceneView for example the Hierarchy window.
DerDicke
Sep 29, 2023 11:36
warning still coming in 2023.1 when fumbling with ToolbarOverlay