Revert "Application.targetFrameRate" settings to default

I’m wondering what’s the targetFrameRate of Unity by default. Till now, if I disable the v-sync, the game runs as many frames as it can (+1800 if possible).

But since I capped the frame rate on purpose by using Application.targetFrameRate = 30, now Unity seems to remember it and it’s kept running at 30fps maximum. I wonder how could I revert to the default settings, so as to not have to write manually something like Application.targetFrameRate = (big number)

.

Thanks!

Edit → Project Settings → Time

ALSO, start here:

1 Like

Thank you!

This is where I learn to cap it, but there’s no information on how to revert the settings to default.

8375868--1104183--upload_2022-8-19_20-22-59.png

I believe setting “Maximum Allowed Timestep” to 0 would be the default state for any unity project. Thanks!

EDIT: Ok, that doesn’t fix it. I opened a brand new project and I realized that the Time’s settings are the same as the picture I shared above.

EDIT 2: It seems that setting the Application.targetFrameRate = 0 reverts it to the default state (unlimited fps).