It didn’t crop up on older betas and I haven’t changed any code here from my usual drawing. I’m using Handles in OnDrawGizmos for quick editor side debugging and this has always worked before…
It’ll crop up after 20 mins of general editor testing so it’s probably just not getting flushed somewhere.
Could you please submit a bug report for this? If possible with a repro.
CDF
July 10, 2018, 1:59am
3
I’ve been getting this as well. Can’t 100% repro though, happens randomly. But this time happened after hitting play:
Reloading assemblies for play mode.
Begin MonoManager ReloadAssembly
Refreshing native plugins compatible for Editor in 1.48 ms, found 11 plugins.
Preloading 3 native plugins for Editor in 0.34 ms.
Mono: successfully reloaded assembly
- Completed reload, in 1.454 seconds
Initializing Unity.PackageManager (PackageManager) v2018.2.0 for Unity v2018.2.0f1
Registering platform support modules:
Registered platform support modules in: 0.0276559s.
Native extension for Android target not found
Native extension for WindowsStandalone target not found
Load scene 'Temp/__Backupscenes/0.backup' time: 0.484493 ms
Callback registration failed. Increase kMaxCallback.
UnityEditor.HandleUtility:RegisterGfxDeviceCleanup()
UnityEditor.HandleUtility:InitHandleMaterials() (at C:\buildslave\unity\build\Editor\Mono\HandleUtility.cs:644)
UnityEditor.HandleUtility:get_handleWireMaterial() (at C:\buildslave\unity\build\Editor\Mono\HandleUtility.cs:672)
UnityEditor.HandleUtility:ApplyWireMaterial(CompareFunction) (at C:\buildslave\unity\build\Editor\Mono\HandleUtility.cs:704)
UnityEditor.Handles:smile:oDrawAAPolyLine(Color[], Vector3[], Int32, Texture2D, Single, Single) (at C:\buildslave\unity\build\Editor\Mono\Handles.cs:1022)
UnityEditor.Handles:smile:rawAAPolyLine(Vector3[]) (at C:\buildslave\unity\build\Editor\Mono\Handles.cs:1006)
UnityEditor.SceneViewRotation:smile:rawIsoStatusSymbol(Vector3, SceneView, Single) (at C:\buildslave\unity\build\Editor\Mono\SceneView\SceneViewMotion.cs:650)
UnityEditor.SceneViewRotation:smile:rawLabels(SceneView) (at C:\buildslave\unity\build\Editor\Mono\SceneView\SceneViewMotion.cs:749)
UnityEditor.SceneViewRotation:OnGUI(SceneView) (at C:\buildslave\unity\build\Editor\Mono\SceneView\SceneViewMotion.cs:788)
UnityEditor.SceneView:RepaintGizmosThatAreRenderedOnTopOfSceneView() (at C:\buildslave\unity\build\Editor\Mono\SceneView\SceneView.cs:1650)
UnityEditor.SceneView:OnGUI() (at C:\buildslave\unity\build\Editor\Mono\SceneView\SceneView.cs:1802)
System.Reflection.MonoMethod:InternalInvoke(MonoMethod, Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
UnityEditor.HostView:Invoke(String, Object) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:295)
UnityEditor.HostView:Invoke(String) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:288)
UnityEditor.HostView:InvokeOnGUI(Rect) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:255)
UnityEditor.DockArea:OldOnGUI() (at C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:390)
UnityEngine.Experimental.UIElements.IMGUIContainer:smile:oOnGUI(Event, Boolean) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:215)
UnityEngine.Experimental.UIElements.IMGUIContainer:HandleIMGUIEvent(Event) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:380)
UnityEngine.Experimental.UIElements.IMGUIContainer:smile:oRepaint(IStylePainter) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:89)
UnityEngine.Experimental.UIElements.Panel:PaintSubTree(Event, VisualElement, Matrix4x4, ClippingOptions, Rect) (at C:\buildslave\unity\build\Modules\UIElements\Panel.cs:732)
UnityEngine.Experimental.UIElements.Panel:PaintSubTreeChildren(Event, VisualElement, Matrix4x4, ClippingOptions, Rect) (at C:\buildslave\unity\build\Modules\UIElements\Panel.cs:748)
UnityEngine.Experimental.UIElements.Panel:PaintSubTree(Event, VisualElement, Matrix4x4, ClippingOptions, Rect) (at C:\buildslave\unity\build\Modules\UIElements\Panel.cs:736)
UnityEngine.Experimental.UIElements.Panel:Repaint(Event) (at C:\buildslave\unity\build\Modules\UIElements\Panel.cs:778)
UnityEngine.Experimental.UIElements.UIElementsUtility:smile:oDispatch(BaseVisualElementPanel) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:227)
UnityEngine.Experimental.UIElements.UIElementsUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:74)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\IMGUI\GUIUtility.cs:171)
[C:\buildslave\unity\build\Runtime/Core/Callbacks/CallbackArray.h line 191]
(Filename: C:/buildslave/unity/build/Editor/Mono/HandleUtility.cs Line: 644)
Guess all I can do is submit my entire project as the bug report
Yeah mine is waaaay too big and I got the same as you this time.
It happens after about an hour of dev, usually with compiling going on. I don’t need to press play for it, just save work in VS.
Logs alone would be sufficient for this one. A repro is nice to have, but probably not necessary in this case.
Just got the confirmation that a fix for this issue will be in the first patch release.