Search Unity

Bug Editor's frame rate severely drops when Game tab is maximized since v. 2021.22f1

Discussion in 'Editor & General Support' started by yyylny, Oct 8, 2021.

  1. yyylny

    yyylny

    Joined:
    Sep 19, 2015
    Posts:
    93
    Ever since version 2021.1.22f1 (up until 2021.1.24f1) each time I maximize the Game tab, Unity starts stuttering and the game's frame rate gets very low. As soon as I make the Game tab return to its normal size, everything goes back to normal (no stuttering or frame rate drop). I even tested it with a brand new project. In versions 2021.1.21f1 or below this never happens.

    Tested on a Mac Mini (Late 2012) running macOS Catalina 10.15.7. Does anyone else experience this problem? I couldn't find any mention about it in Unity's logs.
     
    Last edited: Oct 8, 2021
  2. altepTest

    altepTest

    Joined:
    Jul 5, 2012
    Posts:
    1,119
    Try and check if some game object is selected in the scene. Some objects with custom editor options will impact performance.

    or maybe is just a bug as you think it is
     
  3. jonathans42

    jonathans42

    Unity Technologies

    Joined:
    Jan 25, 2018
    Posts:
    514
    Does it work if you enable game view vsycn when maximized?

    upload_2021-10-8_9-17-44.png

    Otherwise, making sure no selection is active can help. Also, maybe some code is not efficient more pixel you have on the screen?
     
  4. yyylny

    yyylny

    Joined:
    Sep 19, 2015
    Posts:
    93
    Thanks but it's not that since I'm testing with a brand new project which only has a simple 3D cube object which rotates in place (just a simple rotation script, no custom editor options).
     
  5. yyylny

    yyylny

    Joined:
    Sep 19, 2015
    Posts:
    93
    Thanks but VSync doesn't seem to have any effect on the stuttering. The entire Unity UI is barely useable because of this. I'm testing with a brand new project which only has a single spinning 3D cube.

    This doesn't happen in v.2021.1.21 or below. In fact, I've just downgraded the project I was testing on v. 2021.1.24 to v. 2021.1.21 and it runs smoothly.
     
    Last edited: Oct 8, 2021
  6. jonathans42

    jonathans42

    Unity Technologies

    Joined:
    Jan 25, 2018
    Posts:
    514
    Ok you should report a bug and state the version where it was fine and then when it was not so we can run a bisection on our end. Make sure you include your machine hardware specifications.
     
    yyylny likes this.
  7. yyylny

    yyylny

    Joined:
    Sep 19, 2015
    Posts:
    93
    I'm happy to report the problem got fixed in 2021.2 :)
     
    jonathans42 likes this.