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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.