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 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.