Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
Issue ID
1413469
Regression
No
[UI Builder] "Could not resolve template with name" when hovering on missing template in the UIBuilder Library
Steps to reproduce:
1. Open Window->UI Toolkit->UI Builder
2. Select the Project tab in the Library menu
3. Open the UnityEngine->UIElements dropdown item
4. Scroll down to find an item called "Instance"
5. Hover over it to see an error in the console
Expected result: No errors and perhaps no Instance item in the Library?
Actual result: A seemingly pointless Instance item is available to the user and an error is thrown.
Reproducible with: 2021.1.20f1, 2021.2.8f1, 2022.1.0a1, 2022.1.0b2, 2022.2.0a9,
Could not resolve template with name ''
UnityEngine.UIElements.UxmlFactory`2<UnityEngine.UIElements.TemplateContainer, UnityEngine.UIElements.TemplateContainer/UxmlTraits>:Create (UnityEngine.UIElements.IUxmlAttributes,UnityEngine.UIElements.CreationContext)
Unity.UI.Builder.BuilderLibraryProjectScanner/<>c__DisplayClass5_1:<ImportFactoriesFromSource>b__0 ()
Unity.UI.Builder.BuilderLibraryView:OnItemMouseEnter (UnityEngine.UIElements.MouseEnterEvent)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
StylishName
Mar 27, 2022 13:14
freefire.stylish.name