This is sample project based on 3D Template from Unity 2020.3.1f Only change made in this in Packages/manifest.json where EDM4U has been added as a package.
- Opening the project in Unity 2020.3.1f
- Open the Assets/Scene/SampleScene.unity
- Press Play
- Start the Unity Profiler under Window / Analysis / Profiler (or Profiler standalone).
- Selecting Editor in the dropdown menu to debug the editor instead of the Playmode to get the Editor GC Collection information.
- Enable Call Stacks / GC Alloc on the top right side of the Profiler
- Press Record button in Profiler to start recording GC Alloc
- Wait for few frames
- Press Record butto in Profiler to stop recording GC Alloc
- In CPU Usage. Select some frame in the under and check GC Alloc origination.
- Under Raw Hierarchy, Main Thread search for "ExecuteAll"
- Select the ExecuteAll line, press x to view the contents there under.
- Check the origination of GC Alloc by pressing any GC.Alloc line
- Notice way to many of the belong to EDM4U