# Grid is drawn on top of everything?

**URL:** <https://forums.unrealengine.com/t/grid-is-drawn-on-top-of-everything/295042>\
**Category:** Rendering\
**Tags:** UE4-5, unreal-engine, grid, editor, UE4, question\
**Created:** [October 1, 2014, 8:49pm UTC](https://forums.unrealengine.com/t/grid-is-drawn-on-top-of-everything/295042 "2014-10-01T20:49:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9fdc589](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9fdc589](https://forums.unrealengine.com/u/anonymous_user_b9fdc589)\
**Post date:** [October 1, 2014, 8:49pm UTC](https://forums.unrealengine.com/t/grid-is-drawn-on-top-of-everything/295042/1 "2014-10-01T20:49:13Z")

</div>

Hello,

I switched yesterday to the last GitHub version available to use the version 4.5.0 of the Engine. Since 4.4.1 (previous version I was using) the grid is drawn of top of everything. This very annoying to work with as you can’t rely on the grid to place actors properly.

![16783-grid.gif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/f/d3f94ea348a8cf8b2884daffaea39b273348d9a9.gif)

I checked a bit the source code myself but it seems the way the grid is drawn didn’t change. The depth priority seems identical to what it was set in 4.4. I tried to climb a bit the call that draw the grid, but I was quickly lost. So I’m not sure if it’s a rendering bug or just a change in the rendering order of the viewport.

If this is a bug, what would be the best way to fix it (rather than simply disabling the drawing of grid) ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9fdc589](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9fdc589](https://forums.unrealengine.com/u/anonymous_user_b9fdc589)\
**Post date:** [October 2, 2014, 7:18pm UTC](https://forums.unrealengine.com/t/grid-is-drawn-on-top-of-everything/295042/2 "2014-10-02T19:18:36Z")

</div>

I just tested r.Editor.NewLevelGrid 0 to switch to old grid system and this one is properly draw and respect the depth of my scene and objects.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9fdc589](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9fdc589](https://forums.unrealengine.com/u/anonymous_user_b9fdc589)\
**Post date:** [October 3, 2014, 8:25pm UTC](https://forums.unrealengine.com/t/grid-is-drawn-on-top-of-everything/295042/3 "2014-10-03T20:25:05Z")

</div>

I don’t know who marked this as resolved but it’s not. 🙂

While I can switch to the old grid, it’s just a workaround. I would really like the new grid to work properly. Especially because the old grid doesn’t react to the snap size and has very big default step between its lines.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9fdc589](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9fdc589](https://forums.unrealengine.com/u/anonymous_user_b9fdc589)\
**Post date:** [October 3, 2014, 10:21pm UTC](https://forums.unrealengine.com/t/grid-is-drawn-on-top-of-everything/295042/4 "2014-10-03T22:21:44Z")

</div>

Fortunately, updating to the 4.5.0 preview fixed the problem. 😃

---

<div class="post-metadata">

**Author:** ![Anonymous\_bb06bbffd50372e8e56b9fd864e30a78](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_bb06bbffd50372e8e56b9fd864e30a78](https://forums.unrealengine.com/u/Anonymous_bb06bbffd50372e8e56b9fd864e30a78)\
**Post date:** [August 17, 2016, 6:12pm UTC](https://forums.unrealengine.com/t/grid-is-drawn-on-top-of-everything/295042/6 "2016-08-17T18:12:24Z")

</div>

Hello,  
the same bug in 4.12

r.Editor.NewLevelGrid 0 - fixes the error
