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:
- Create a new Unity project using the Universal 2D template
- Open the Tile Palette window (Window > 2D > Tile Palette)
- Toggle the Tile Palette Brush Picks Overlay
- Click the "Save" button in the Tile Palette Brush Picks Overlay
- Toggle the Tile Palette Overlay
- Create new Tile Palette
- 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.
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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
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.
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.