Bit of an unusual setup here,
I've tried hooking up traditional memory profilers like ANTS and dotMemory but they do not connect -- I'm sure that's to do with not having a release build or the fact that it's a Unity application.
I've tried attaching the Unity debugger, but it fails to recognize the game.
I'm running out of options, does anyone know if it's possible to ask the GC to dump what objects are currently being tracked? Perhaps its possible to use Harmony to hook into the actual allocation of memory step in the GC and I could track manually?
If you download the same exact version of Unity that the game was made in (you can check what it is in the properties page of UnityPlayer.dll), you can swap UnityPlayer.dll from a development build into the game and then use Unity's memory profiling tools. That said, this will only work if the game uses a relatively recent version of Unity (made within the last 3-5 years).