Search Issue Tracker

Won't Fix

Won't Fix in 6000.6.X

Votes

0

Found in

6000.3.9f1

6000.4.0b9

6000.5.0a7

6000.6.0a1

Issue ID

UUM-134364

Regression

Yes

[MacEditor] UI scenarios that open AuxWindows from SceneView overlay can trigger "Repaint" error logged to console

In very rare, obscure UI scenarios, a "Handles.Repaint called outside an editor OnGUI" is sometimes logged.

Steps to reproduce:

  1. Create a new Unity project using the Universal 2D template
  2. Open the Tile Palette window (Window > 2D > Tile Palette)
  3. Toggle the Tile Palette Brush Picks Overlay
  4. Click the "Save" button in the Tile Palette Brush Picks Overlay
  5. Toggle the Tile Palette Overlay
  6. Create new Tile Palette
  7. Observe the Console window

Actual results: "Handles.Repaint called outside an editor OnGUI" error is thrown

Expected results: No errors are thrown

Reproducible with versions: 6000.3.0a3, 6000.3.9f1, 6000.4.0b9, 6000.5.0a7

Not reproducible with versions: 6000.0.67f1, 6000.3.0a2

Tested on (OS): MacOS Silicon Tahoe 26.2

{}Note{}: The issue is inconsistent

{}UPDATE{}: This error is harmless.

It's intended to warn the user they're attempting to repaint a SceneView Handle outside of OnGUI(), which isn't allowed. However, in this scenario it's being triggered by a race-condition caused by a modal Dialog Box shown by an AuxWindow that's opened by a SceneView Overlay. In this case, the Repaint call is unnecessary and is simply ignored (but the error is still logged).

It doesn't occur on Windows because the platform timing of the modal UI is different than macOS resulting in different code paths being executed which sidesteps this scenario.

  1. Resolution Note:

    Thank you for reporting a bug to Unity.

    We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.

    Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.

  2. Resolution Note (6000.6.X):

    Thank you for reporting a bug to Unity.

    We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.

    Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.

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.