Search Issue Tracker
Won't Fix
Votes
0
Found in
6000.2.0b1
Issue ID
UUM-105764
Regression
No
UI Builder shows warning in Play Mode when editing with unsaved changes
Steps to reproduce:
- Create a new Unity Project
- In the Hierarchy, add a UI Document GameObject
- In the Project window, create a new UI Document (UXML) via Assets > Create > UI Toolkit > UI Document
- Open the UXML in the UI Builder
- Make some changes in the UI Builder (e.g. add a button) without saving
- Enter Play Mode
- While still in Play Mode, maximise the UI Builder window and then return it to its previous size
- Alternatively, attempt to make edits in the UI Builder while in Play Mode
- Observe the Console for warnings
Actual results: A warning appears in the Console: " UI was recreated and no companion MonoBehaviour found, some UI functionality may have been lost.
UnityEngine.UIElements.UIElementsRuntimeUtilityNative:UpdatePanels () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Native/UIElementsUtility.bindings.cs:21)"
Expected results: UI Builder should not throw warnings when editing unsaved changes in Play Mode
Reproducible with versions: 6000.2.0b1
Tested on (OS): macOS 15.5 (Silicon M4), Windows 11
Notes:
- A UI Document GameObject must be present in the Hierarchy during Play Mode
- This issue may confuse users and hinder iterative UI development workflows
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
We are currently working to improving live reload workflow with the UIDocument and companion components and the new workflows will address this problem among others. Closing this bug as it won't be fixed as a bug fix in the current UIDocument.