Search Issue Tracker
Fixed
Fixed in 6000.0.44f1, 6000.1.0b12, 6000.2.0a8
Votes
5
Found in
6000.0.43f1
6000.1.0b11
6000.2.0a7
Issue ID
UUM-99971
Regression
Yes
UI Builder unloads UXML file and discards any unsaved changes when entering Play Mode with Domain and Scene Reload enabled
How to reproduce:
1. Open the “IN-97116.zip“ project
2. Open the “Main“ Scene
3. Enable “Domain and Scene Reload” in Edit > Project Settings > Editor
4. Open the “Assets/Screens/Menu.uxml“ file in UI Builder
5. Add a button to the UXML file
6. Enter and Exit Play Mode
7. Observe the UI Builder
Expected result: The UXML file is still loaded
Actual result: The UXML file gets unloaded
Reproducible in: 6000.0.39f1, 6000.0.43f1, 6000.1.0b11, 6000.2.0a7
Not reproducible in: 2022.3.60f1, 6000.0.38f1
Reproduced on: Windows 11 Pro (24H2), MacOS 15.3 (M4)
Not reproduced on: No other environment tested
Notes:
- Only reproducible if both Domain and Scene Reload are enabled Play Mode enabled
- All unsaved changes will be lost upon entering Play Mode
- Sometimes reproduction might require entering and exiting Play Mode twice
Comments (3)
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
- Button OnClick event remains the same when the selected function is changed to private
- [DX12] Crash on ShaderLab::SubProgram::Compile or freeze when compiling a specific Ray Tracing shader
- [Android] [OpenGLES3] Some of the shadows are not rendered when deployed with OpenGLES3 Graphics API on Android
- Ghosting around GameObjects while moving when using Fast Approximate Anti-aliasing (FXAA)
- Build becomes unresponsive when enabling "Deep Profiling Support" and "Autoconnect Profiler" build options in a specific project
MauzTheBeard
Mar 24, 2025 22:30
Had to update project from 6000.0.11f1 due to another UI builder bug. Now on 6000.0.42f1 and having this bug just when script recompilation happens (save C# script, jump back to editor -> UI builder lost the ref).
Drumsmasher17
Mar 19, 2025 17:32
The issue is worsened by the fact that, unless you have a locked-project window open, it's a bunch of clicks to reopen a UXML. Having a project window also open wouldn't be bad if we were able to move around the panels of the UIBuilder to be a bit more space efficient, but it's obviously not great.
At the very least, can we get a "Open Recent" section in the open dropdown which lists our 5 most recently edited UXMLs?
Before this bug was a thing, it was relatively nice having UIBuilder open maximised.
Drumsmasher17
Mar 19, 2025 17:28
This happens at edit time too, and I'm fairly certain it never used to.
This issue makes it incredibly frustrating while iterating on C# visual elements and switching back to UIBuilder to tweak the USS's.