I’m trying to use a .NET profiler (I tried JetBrains dotTrace and ANTS profiler) to profile a standalone made with Unity.
Basically, I build my project as a “PC, Linux & Mac Standalone” application, with “Development build” checked (or not, tried both) so it creates a .exe file… let’s say test.exe.
Then, I launch test.exe from the profiler. The standalone starts normally, but the profiler doesn’t detect it.
So I came to this question: how can I use a profiler such as JetBrains dotTrace to profile my game?
It’s possible that dotTrace would work if you’re building a Windows Store App, but I’ve not tried it. The rest of the time the apps you build aren’t using the Microsoft .NET Framework, and therefore dotTrace won’t work with them.