Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2019.4.29f1
2020.3
2021.1
2021.2
2022.1
Issue ID
1368348
Regression
No
MeshTopology.Lines rendering inconsistency on some Windows hardware
How to reproduce:
1. Open the attached project "incorrect_Gridlines.zip"
2. Open Assets > Scenes > SampleScene.unity
3. Enter Play Mode
4. Observe the gridlines
Expected result: Gridlines are rendered correctly "Correct.png"
Actual result: Gridlines are rendered incorrectly "Incorrect.png"
Reproducible with: 2019.4.31f1, 2020.3.19f1, 2021.1.23f1, 2021.2.0b14, 2022.1.0a10
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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Resolution Note:
This can be both By Design or Third Party Issue. The By Design part is that MeshTopology.Lines use the line primitives available in different graphics APIs, the Third Party Issue part is the way lines are drawn by HW. The line drawing is not specified strictly enough for it to always produce good looking lines, and the details of the specifications differ slightly per graphics API. For good looking graphical effects lines should not be used, but a mesh ought to be generated and drawn in the traditional way.