Answer the question
In order to leave comments, you need to log in
Fps drop. How to fix?
Greetings. There is a counter in the project. I evaluate by "Min FPS", if there are subsidence.
Link to the project: https://drive.google.com/file/d/1GgD5GrRgOKkJgXGMK...
Removed this from the code:
QualitySettings.vSyncCount = 0;
Application.targetFrameRate = Screen.currentResolution.refreshRate;
Answer the question
In order to leave comments, you need to log in
Vert. Synchronization set to Every V Blank. Removed the DOTween Pro component (there is visual scripting, you hang the component and press the buttons instead of the code) from the UI, everything is ok with FPS now.
Add. info:
https://forum.unity.com/threads/disabling-v-sync-o... - describes what WaitForTargetFPS, Gfx.ProcessCommands, Gfx.WaitForCommands, Gfx.PresentFrame and Gfx.WaitForPresent are
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question