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?
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?
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
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.
Issue is still present in beta 5.