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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
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.