Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[Solved] FPS counter capped at 30fps

Discussion in 'Editor & General Support' started by Lostrick, Jul 23, 2018.

  1. Lostrick

    Lostrick

    Joined:
    Jan 9, 2014
    Posts:
    32
    I put a script to count the FPS, it was working fine (60 fps) but after I moved the project to my laptop it's capped at 30fps
    the fps counter from stats is ok but the fps counter from the script is always capped at 30fps, the game also runs slower. I've tried disable vsync and use the Application.targetFrameRate = 60; but it's still not working

    any solution for this?
     
  2. Madgvox

    Madgvox

    Joined:
    Apr 13, 2014
    Posts:
    1,315
    Is your laptop just not powerful enough to run at 60 fps?
     
  3. Lostrick

    Lostrick

    Joined:
    Jan 9, 2014
    Posts:
    32
    yes that's it, my bad
    seems like it was on battery and it was conserving power, charged it and everything works out
    it's really weird though, cause it's capped right at 30fps
    anyway it's solved thanks for your time
     
  4. Lostrick

    Lostrick

    Joined:
    Jan 9, 2014
    Posts:
    32
    oh i was wrong, it's nvidia geforce battery boost feature
    it's limiting all games fps to 30 when on battery, go to nvidia geforce settings and disable it, it's all working good on battery now