Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.2.X, 6000.3.X, 6000.4.X
Votes
0
Found in
6000.0.61f1
6000.2.9f1
6000.3.0b8
6000.4.0a3
6000.5.0a1
Issue ID
UUM-126240
Regression
No
UI builder uxml files retain reference to non-existing assembly definition file when a assembly definition file is deleted
How to reproduce:
1. Open attached project: IN-118358
2. In the Project window open “Test” folder
3. In the Project window right click and select Create → Scripting → Assembly Definition
4. In the Project window double click the “Test.uxml” file (UI builder window should open)
5. Select Label
6. In the Inspector window select Data Source as Type, then click “Select Type…“ and select “CreatingType.cs“ script and in the third Data Source Input Field select any possible string type
7. In the Project window delete your created Assembly Definition file
8. Observe the Console window
Expected result: After deleting the assembly definition file the UI builder .uxml file is also cleared from all references to that assembly definition file
Actual result: After deleting the assembly definition file .uxml references aren’t cleared and error is thrown “TypeLoadException: Could not load type '.CreatingType' from assembly 'NewAssembly'.“
Reproducible with: 2023.2.0b1, 6000.0.61f1, 6000.2.9f1, 6000.3.0b8, 6000.4.0a3
Could not test with: 2023.1.0f1 (Data source binding feature is missing)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: When you are done with 6 step, in the “Test.uxml.” file a line similar to this should appear “<ui:Label text="Label" data-source-tyDpe="CreatingType, NewAssembly" data-source-path="randomString" />”
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Customize handled extensions" part in the External Tools settings tab is not aligned with other properties
- Editor Diagnostics foldouts do not open when clicked on the foldout title
- [UI Builder] Visual Elements are not placed at the mouse cursor position when Absolute Position Placement is enabled
- "Width" and "Height" text is misaligned with slider ends in Screen Match Mode Parameters section of Panel Settings Asset
- Editor does not quit when Editor is not in focus and any floating window is opened
Add comment