Memory and Memory Profiler Issue

Hello, I’ve been having issues with memory for a long time and I’m really trying to figure out the cause. I’ve considered trying to use Memory Profiler as I am in Unity 2022.2.11, however, for whatever reason, Unity’s Memory Profile refuses to work for me!

Every time I attempt to take a snapshot using it, I get this error:

I’ve tried to figure out why this occurs, but I have absolutely no idea. The folder where the snapshots are stored is the default option and obviously the profiler scripts are as they should be.

Does anyone have any idea how/why this could occur? It would be greatly appreciated so I can finally sort out my issue where my memory is skyrocketing to 6-10GB!

Thank you for any reply!

Hey,
We’ve fixed a bug that might be related to your issue (though it is a different exception: ArgumentException: Illegal characters in path.) in version 1.1 of the package (currently in pre-release as 1.1.0-pre.1 which you might have to switch to by modifying the manifest file).
If that doesn’t fix it, would you mind breakpointing into the package’s CaptureControlUI.DelayedSnapshotRoutine to see which path it tries to save to? I’m currently fixing a (probably unrelated issue) for when the folder it should capture to has not been created and will add better messaging so that the path would be logged out if something fails but that might take a moment to get to you.

1 Like

It seems like updating the manifest to the new version of the package worked like a charm! Thank you so much for the help! I’m not sure what caused the issue exactly, but it works perfectly now!

Very much appreciated!

1 Like

I’m glad to hear that, happy to help :slight_smile: