Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.2.X
Votes
0
Found in
2019.4
2020.1.10f1
2021.1
Issue ID
1288531
Regression
No
UI Toolkit VisualElement.Query<> is empty when querying for <VisualElement>
How to reproduce:
1. Open attached project "1288531.zip"
2. Open "SampleScene" Scene and press play
Expected results: The same amount of querying matches are returned (observed in the console)
Actual results: 0 querying matches for VisualElements are queried, while 2 matches of Label are returned
Reproducible with: 2019.4.14f1, 2020.1.12f1, 2020.2.0b10, 2021.1.0a4
Couldn't test with: 2018.4.28f1 cause no UI Toolkit functionality
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
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note (fix version 2021.1):
Fixed in 2021.2.0a4
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0b6
Resolution Note (fix version 2020.2):
Fixed in 2020.2.4f1