Search Issue Tracker

By Design

Votes

0

Found in

2018.1.0a6

2018.1.0b9

Issue ID

1010222

Regression

Yes

Generic Menu Causes GL.Lines to be Drawn with an offset and white

Themes

-

Reproduction steps:
1. Open the attached project "New Unity Project (3).zip";
2. Open the "Tools/Grid" menu;
3. Left-click on the window to ensure it has focus;
4. Right-click so the generic menu appears.

Actual results: The GL.Lines will now appear white with an offset.
Expected results: The GL.Lines will remain as a dark grid.

Reproducible on: 2018.1.0a6, 2018.1.0b10, 2018.2.0a4.
Not reproducible on: 2017.1.3p2, 2017.2.1p4, 2017.3.1p3, 2018.1.0a5.

Comments (1)

  1. karl_jones

    Mar 28, 2018 13:23

    Script error. If using GL to draw in OnGUI, ensure you only draw when Event.current.type == EventType.Repaint.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.