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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.