Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Engine:Unity/Unlock FPS"

From PCGamingWiki, the wiki about fixing PC games
(Created page with "'''General information''' {{mm}} [https://docs.unity3d.com/ScriptReference/QualitySettings-vSyncCount.html Unity Document of <code>QualitySettings.vSyncCount</code>] {{mm}} [h...")
 
m (Add a space)
Line 4: Line 4:
  
  
Unity games usually lock FPS with <code>QualitySettings.vSyncCount</code> and <code>Application.targetFrameRate</code>.If we can change the parameters of these two methods, FPS can be easily unlocked.
+
Unity games usually lock FPS with <code>QualitySettings.vSyncCount</code> and <code>Application.targetFrameRate</code>. If we can change the parameters of these two methods, FPS can be easily unlocked.
 
{{++}} Most Unity games run perfect after FPS unlocked. Only a few Unity games contain logics tied to framerate.
 
{{++}} Most Unity games run perfect after FPS unlocked. Only a few Unity games contain logics tied to framerate.
 
{{--}} There is currently no method to restore IL2CPP to compileable original code, which makes it difficult to modify code of Unity games using IL2CPP.
 
{{--}} There is currently no method to restore IL2CPP to compileable original code, which makes it difficult to modify code of Unity games using IL2CPP.

Revision as of 07:10, 4 May 2024

General information

Unity Document of QualitySettings.vSyncCount
Unity Document of Application.targetFrameRate


Unity games usually lock FPS with QualitySettings.vSyncCount and Application.targetFrameRate. If we can change the parameters of these two methods, FPS can be easily unlocked.

Most Unity games run perfect after FPS unlocked. Only a few Unity games contain logics tied to framerate.
There is currently no method to restore IL2CPP to compileable original code, which makes it difficult to modify code of Unity games using IL2CPP.