Search Issue Tracker
By Design
Votes
0
Found in
2022.3.6f1
2023.1.6f1
2023.2.0b2
Issue ID
UUM-44447
Regression
No
Styling doesn't apply when referencing elements and all their parents in the USS file Selector
How to reproduce:
1. Open the attached “Temp.zip“ project
2. Open the “SampleScene“ Scene
3. Observe the Game view
Expected result: The ScrollView has a border that is red on the left
Actual result: The ScrollView has a border that is green on the left
Reproducible with: 2022.3.6f1, 2023.1.6f1, 2023.2.0b2
Can’t test with: 2021.3.29f1 (Errors in the Console)
Reproduced on: macOS 13.4.1 (Intel), Windows 10 (by reporter)
Note: Also reproducible in Player
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
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
- Scroll View is not moving by inertia after scrolling by click and dragging when Editor window is minimized and Canvas "Render Mode" is set to "World Space"
- "type mismatch error" occurs when the currentDirectionWS output of a Sample Water Surface node is connected to a float3 input
- URP Material Upgrade utility does not enable Alpha Clipping when material had Rendering Mode set to Cutout
- Particle System emission ignores the Sprite Atlas when using a Material that has the "Include in Build" setting unchecked
Resolution Note:
This is by design as the ancestor combinator ">" checks for the "logical" parent of an element (element.parent), not the "physical" parent (element.hierarchy.parent). In other words, the logical hierarchy goes through the ".contentContainer" and not the ".hierarchy".