needle-tools / selective-profiling

Selectively deep profile single methods while your game is running in Unity's Profiler 🔬
135 stars 11 forks source link

Stacktrace broken after injection #1

Open marwie opened 3 years ago

marwie commented 3 years ago

Before: image

After: image

Does not happen when method is normally wrapped with Profiler.Sample calls

Profiler.BeginSample("test");
Debug.Log("Raycast");
Profiler.EndSample();