Question by
UtubzGames_398 · May 21 at 08:37 PM ·
editorperformancememory
Editor Input.PreUpdate absurd lag
So I'm working on a game (obviously), but I've noticed that over time the editor has been getting slower and slower. So slow that clicking a button takes over a second. Unity is basically unusable until I can find a fix. I have a decent computer and haven't had problems like this before, so I did a bit of profiling and found that the editor's Input.PreUpdate function is taking a really long time.
The reserved managed memory heap also seems a bit crazy, but because this is an editor issue I can't know for sure if this is an issue as well. A is when I first start the editor, B is after a few minutes of working.
I'm hoping someone with a bit more editor knowledge than me could be able to help explain what's going on here. Thanks!
inputpreupdate-slow.png
(74.4 kB)
reservedmanagedheap-big.png
(87.9 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613060834im_/https://answers.unity.com/themes/thub/images/avi.jpg)