- Home /
Help when playing in Editor , Big memory Leak/problem
Hello Thank you for taking your time to look into this problem.
To paint a picture I have 2 computers, one Work PC and one Home PC. Currently I have a project on a git repository and when I pull it and use it at home it is fine, however at work It was running fine. Then all of a sudden after coming back from a lunch break every time I press play within the Editor the Memory just goes mental and the pc slows down in the task manager the Memory(Total physical memory reserved by individual processes) goes to over 100%. This has forced me to hard reset the PC on 1 occasion. (Both pcs are similar spec )
At home the code and project is the same but there is no problem. Are there any suggestions to solving this issue?
I have reinstalled Unity at work, I am currently making a fresh new pull from the repository and trying again, however I was wondering if there is a way to reset to default editor scripts etc.
Any suggestions or advice is greatly appreciated.
I think it would be useful if you posted some details like OS and Unity version.
$$anonymous$$aybe you should also google something like "Unity memory leak", where you'll get many result, e.g. :
https://answers.unity.com/questions/1387757/unity-editor-memory-leak-1.html
The profiler to the rescue. if your Unity isn't just freezing, which would indicate an infinite loop, run the profiler for a few seconds if that's enough already and check what's filling memory.