I upgraded my project from 2021 to 2023 to use MPPM package. Something weird is happening with editor. After 15-30 mins of using editor and going to play mode few times performance drops drastically (from 150 fps in first playmode to 10 fps after 30mins). Could Game View be finally upgraded to UI Toolkit to remove this massive 16kB alloc every frame???
I’ve learned how to redirect methods and I was right. Hiding GameView toolbar, background (that’s invisible anyway), tabs increases performance by 90%, cpu usage goes from 10ms to 1ms.
Also tested Unity 2021 and somehow it only takes 1ms there. My script further improves it to 0.3ms.
There are even more regressions, prefab selected and W pressed in playmode to move character. Somehow whole inspector gets refreshed and fps drops to 5??
This is a really bad regression. Play testing in a minimal 2D project is sometimes reaching sub 5 frames per second.
Currently having the exact same issue as the original poster.
I’m glad others are finding and bringing this issue up, – my editor has been slowing down to a crawl and it’s literally a blank 2D project with 3 square sprites, and one 64x72 pixel art character (no animations even in yet) haha.
It’s the same issue here too – just reproduced by having Unity open for around 30mins+ and entering/exiting playmode.
At first, the GameView stats window shows 200+ FPS, and slowly goes down to around 10-20 FPS.
Err…?
I’ve been using Unity and voting on their issue tracker for years… but now their login process never registers me as logged-in, so I can’t vote on the issue lol