Profiler not counting GC allocations

When profiling in the Unity Editor in play mode “GC Alloc” always shows 0 B even though I am purposely allocating every frame.


Using .NET 4.6 runtime. Am I missing any configuration?

1 Like

Hi goncalo09,
Could you please submit a bug report with a minimal reproduction project and reply in here with the case #?
You can find more information on how to do that here.

We actually have a PR in flight that addresses some deep profiling issues under .Net 4.6 and might cover the case you are experiencing. But to make sure it does, a bug report with a reproducible would still be helpful.

Case 988906

1 Like

Same happening here, with Net 4.6 too.

This issue has been fixed internally. The fix should become available in one of the next updates.

1 Like

Issue is still present in beta 5.