Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.3.13f1
2019.4
2020.1
2020.2
Issue ID
1254376
Regression
No
[UIR] A gap between 2 VisualElements in GraphView becomes visible when changing the zoom
How to reproduce:
1. Open the attached project named "Case_1254376"
2. Click Window -> World Mixer -> Graphs and select one of the graphs
3. Select the arrow connecting two elements to highlight it
4. Zoom-out of the graph view and observe the element's outline where it connects with the arrow
Expected result: No clipping/gap between the element and the arrow can be observed regardless of the Graph view zoom
Actual result: A gap can be observed between the element's inner filler and the outline. Also, the highlighted arrow is clipping through the outline and can be seen through the gap
Reproducible with: 2019.4.0f1, 2020.1.0b13, 2020.2.0a14
Could not test with: 2018.4.23f1(UI elements were not yet available), 2020.2.0a15(DOTS package related errors would be thrown on launch)
Notes:
1. Graphics APIs tested: D3D11, D3D12, Vulkan
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
- Only the left screen is rendering when using Render Graph Fullscreen Blit in Meta Quest 2
- Context menu with the "Revert" option doesn't appear when pressing the right mouse button on a "Vector2" or "Vector3" property in the Inspector of a custom shader
- Missing Render Feature "Full Screen Pass Render Feature" in any “Universal Renderer Data” asset when upgrading from 2022.3
- Inconsistent ParticleSystemVertexStream.PercentageAlongTrail data range in Trail Texture Modes except "Stretch"
- The Graph Debug Window can be right clicked through and the Node Workspace is manipulated instead
Resolution Note:
After investigation, this particular issue is hard to avoid.
In this example, the node content is actually provided by a child element. Since the node itself has a border that's being realigned to fit in the pixel-grid, this can cause a gap between the border the child content.
A simple solution is to set the node color on the background of the "node-border" element. This will ensure that the border and the background color will be realigned the same way.