Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.0.0-preview.14
Issue ID
1327821
Regression
No
[UI Builder] Documents from Package folders do not show up in UI Document Project list and can't be used
Reproduction steps:
1. Open project attached in "UIToolkitPackage.zip"
2. Double click on "TestDocument" in the project window
3. In the Library section of the UI builder window select "Project"
4. Inspect the Assets
Expected result: DocumentInPackages.uxml that is located in "Packages/Local Package/" is visible
Actual result: DocumentInPackages.uxml is not visible and cannot be used
Reproducible with: 1.0.0-preview.14 (2019.4.25f1, 2020.3.5f1), 2021.1.4f1, 2021.2.0a14
Could not test with 2018.4.34f1 because UI Builder is not available
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
At the moment, we do not support sharing/reusing C# elements or uxml documents from packages inside the UI Builder.
We have an option to "Show Package Files", which only works on mutable, local packages, which enables package owners to author their UI documents from the UI Builder. This is not intended to be used for sharing/reusing UI assets from packages. The description of the option is not clear on what it is doing and we will update to make it clearer.
Closing this as "By design" because this is not a feature we currently support. This is however a feature that will be added as soon as possible.