0
Escalated

Instability on Windows 10 1903

Guillermo 2 weeks ago updated by Lazlo Bonin (Lead Developer) 5 hours ago 6

Hi!

Peek crash my Unity very frecuently in two of my projects (clean projects).

Here the crash log but I don't know if it useful 

Error.log

https://pastebin.com/bLsWJXLg 

Editor.log

Checking for leaked weakptr:
Found no leaked weakptrs.
##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1570442573183,"processId":28164,"allocatedMemory":124072,"memoryLabels":[{"NewDelete":59904},{"Manager":808},{"Shader":562},{"Serialization":40},{"BaseObject":9784},{"String":25885},{"Curl":1376},{"PoolAlloc":176},{"GI":2768},{"VR":216},{"EditorGui":56},{"EditorUtility":152},{"Collab":57},{"ProfilerEditor":22288}]}







Unity Version:
2019.3.0b6
Peek Version:
1.1.3
+2
Escalated

Hi Guillermo,

I'm very sorry you experienced a crash, I hope you didn't lose any work.

Thank you for the detailed report, the stack trace points me in a direction I can investigate. I'll get back to you once I can do some more testing.

Hi! some update about this? I want to use this amazing tool

Hi Guillermo,

I'm looking into it now. I can see exactly where it's coming from in the source from the stack trace, but I can't reproduce it, so I can't test out fixes and see if they work. Is there a specific condition in which you see the crash occur?

+1

As a workaround, if you encounter this specific crash frequently, you can modify the following:

File: Probe.cs

Method: SetupHighlight

Content:

        private static void SetupHighlight()
        {
            if (highlightMaskMaterial == null)
            {
                highlightMaskMaterial = new Material(Shader.Find("Ludiq/Editor/ProbeHighlightMask"));
            }

            if (highlightEffectMaterial == null)
            {
                highlightEffectMaterial = new Material(Shader.Find("Ludiq/Editor/ProbeHighlightEffect"));
                highlightEffectMaterial.SetColor("_Color", new Color(1, 0.5f, 0).WithAlpha(0.5f));
                highlightEffectMaterial.SetColor("_ChildColor", Color.blue.WithAlpha(0.5f));
            }
        }

You will lose the proper probe highlight colors from your Unity preferences (which we had to fetch via reflection, which seems to be causing the crash), but it should prevent that specific crash.

Thanks!! I will try it. I love Peek (I need use more but I love it)


I have this too

Invalid GUIClip stack popping

UnityEngine.GUI:EndClip()
Ludiq.GraphWindow:OnGUI() (at C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Editor/Windows/GraphWindow.cs:570)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)

Hi,

That's a separate Bolt compatibility issue that has been fixed in Bolt v.1.4.7.