Arvtesh / UnityFx.Outline

Screen-space outlines for Unity3d.
MIT License
1.28k stars 90 forks source link

Console errors #73

Open mancj opened 1 year ago

mancj commented 1 year ago

Hi, thank you for your library. I'm new in Unity, but i tried different methods to set up the outline effect, but i get 999+ errors in logs. I had set up a project referencing your sample project, and tried this tutorial. But couldn't make it work. My project have URP pipeline.

"com.unityfx.outline": "0.8.5",
"com.unityfx.outline.urp": "0.5.0",

BeginProfileEvent("OutlinePass") / EndProfileEvent("Outline-64") mismatch calls detected. Did you call cmd.Clear() after BeginProfileEvent("Outline-64") or inside a using (new ProfilingScope(cmd, "Outline-64")) block? BeginProfileEvent("OutlinePass") / EndProfileEvent("ScriptableRenderer.Execute: URP-Balanced-Renderer") mismatch calls detected. Did you call cmd.Clear() after BeginProfileEvent("ScriptableRenderer.Execute: URP-Balanced-Renderer") or inside a using (new ProfilingScope(cmd, "ScriptableRenderer.Execute: URP-Balanced-Renderer")) block? BeginProfileEvent("OutlinePass") / EndProfileEvent("Outline-64") mismatch calls detected. Did you call cmd.Clear() after BeginProfileEvent("Outline-64") or inside a using (new ProfilingScope(cmd, "Outline-64")) block?

efeurun commented 1 year ago

Experiencing the same issue after upgrading and using Unity 2022.3.8 only on macOS devices,

There was no issue at Unity 2020.3.24f1.

Edit : Downgrading outline.urp to 0.3.0 as stated by james-arndt-unity at https://github.com/Arvtesh/UnityFx.Outline/issues/70 fixed the issue for me.