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
- [Android] The Player freezes when disabling Bluetooth while connected to the headphones
- Addressable bundles are not retrieved from the cache when a WebGL Player is refreshed
- Sprites are incorrectly occluded by Sprite Physics Shape culling when behind in sorting order
- CPU usage is increased when the Editor is idle with the ProBuilder Package installed
- Unstable lighting when additional light sources are added in Shader Graph nodes
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.