the same project gets around 55-60 fps when running in the editor even just with the scene open, but since upgrading to unity 2021.1 this drops to about 30.
if i downgrade, it goes back to 55-60.
builds themselves are not affected. I am using HDRP. it’s not being capped and i don’t have vsync enabled on in the editor, a very simple scene goes up to 100fps, there no no exceptions being thrown and no GC thrashing happening.
i’ve tied diabling things in the RP and things improve but not in a way that explains the discrepancy.
this is a bit of a pain as when trying out things for performance benefits, you cannot see the gains or losses. the profilers just confirms its slower CPU and GPU, but doesn’t give me much to go on.
how can I help myself out here? i’m no where near production ready so i am keen to use the tech releases.
seems like this may be the editor itself, i went back to 2021 this week and already the performance seems to be suffering from ‘waves’ of activity from the editor. like some background process that’s repeating over and over or something.
If you’re running just Game view maximized, it should pause the background windows. That’s where you should test performance. Scene view slows things down dramatically, it’s a debug environment not a Game view, also graph views slow things down.
Personally, I set my windows up so they have a basic window on another tab, to disable the next tab (if I don’t want to use Maximized mode). Any graphical interface is going to take away performance from Game view. While Game view is hopefully going to be faster per version, the editor might be slower per version based on extra tools.