Search Issue Tracker
Fixed
Fixed in 6000.5.X, 6000.6.0a1
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" />”
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:
Fixed in 6000.6.0a1
Resolution Note (fix version 6000.6.0a1):
Fixed in 6000.6.0a1
Resolution Note (fix version 6000.5):
Fixed in 6000.6.0a1