Grid is drawn on top of everything?

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

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) ?

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.

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

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.

Fortunately, updating to the 4.5.0 preview fixed the problem. :smiley:

This was a bug in 4.4, it is fixed in 4.5

Hello,
the same bug in 4.12

r.Editor.NewLevelGrid 0 - fixes the error