Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

SOLVED - Game running slowly in editor

Discussion in 'macOS' started by John_Vella, Aug 11, 2018.

  1. John_Vella

    John_Vella

    Joined:
    Nov 26, 2014
    Posts:
    114
    Hi,

    I am having an issue with a game I am developing. I initially made it on Windows, and it runs fine both in the editor and when built. I have an fps counter on screen and it reads a steady 60fps.

    I tried the same game on my Mac Mini, and I am only getting 30fps.

    I did set the FPS using Application.targetFrameRate = 60; and this works fine on Windows but has no effect on the Mac.

    Before I start the detective work, has anybody seen this before, or do you have a good starting point for my investigations?

    Thanks in advance,

    John.
     
    Last edited: Aug 11, 2018
  2. John_Vella

    John_Vella

    Joined:
    Nov 26, 2014
    Posts:
    114
    I've figured it out. All I had to do was disable Vsync and the FPS has gone up. Woohoo!