# t.MaxFPS 0 locks framerate to 120fps for some inexplicable reason

**URL:** <https://forums.unrealengine.com/t/t-maxfps-0-locks-framerate-to-120fps-for-some-inexplicable-reason/408683>\
**Category:** Feedback & Requests\
**Tags:** console-commands, Scalability, scalability-settings, unreal-engine, fps, bug-report, question\
**Created:** [November 3, 2017, 9:57pm UTC](https://forums.unrealengine.com/t/t-maxfps-0-locks-framerate-to-120fps-for-some-inexplicable-reason/408683 "2017-11-03T21:57:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jambax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambax/32/904177_2.png) [@Jambax](https://forums.unrealengine.com/u/Jambax)\
**Post date:** [November 3, 2017, 9:57pm UTC](https://forums.unrealengine.com/t/t-maxfps-0-locks-framerate-to-120fps-for-some-inexplicable-reason/408683/1 "2017-11-03T21:57:41Z")

</div>

Despite the CVar description stating otherwise, if you type t.MaxFPS into the console with ‘0’ as a value, then FPS is clamped to 120.

I can call t.MaxFPS 500, and hit framerates of about 200-250 in our game, so no idea where the 120 limit is coming from.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_943e62f0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_943e62f0](https://forums.unrealengine.com/u/anonymous_user_943e62f0)\
**Post date:** [November 7, 2017, 4:18pm UTC](https://forums.unrealengine.com/t/t-maxfps-0-locks-framerate-to-120fps-for-some-inexplicable-reason/408683/2 "2017-11-07T16:18:54Z")

</div>

Hey I was able to reproduce this. I have logged it into Jira as a bug report and that number is [JIRA UE-52091](https://issues.unrealengine.com/issue/UE-52091). Our Developers will investigate it further so please refer to the link for updates.

Thanks!

---

<div class="post-metadata">

**Author:** ![Matt.Enright](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Matt.Enright](https://forums.unrealengine.com/u/Matt.Enright)\
**Post date:** [January 26, 2019, 12:33am UTC](https://forums.unrealengine.com/t/t-maxfps-0-locks-framerate-to-120fps-for-some-inexplicable-reason/408683/3 "2019-01-26T00:33:54Z")

</div>

Ran into this and discovered that the 120 is coming from the default SmoothedFrameRateRange in BaseEngine.ini. The project’s smooth frame rate option will be in effect if enabled and t.MaxFPS is 0. When t.MaxFPS is non zero, that value is used instead of the smoothing range. The logic for this is in UEngine::GetMaxTickRate().

---

<div class="post-metadata">

**Author:** ![KingKrouch](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kingkrouch/32/936134_2.png) [@KingKrouch](https://forums.unrealengine.com/u/KingKrouch)\
**Post date:** [July 18, 2024, 3:55am UTC](https://forums.unrealengine.com/t/t-maxfps-0-locks-framerate-to-120fps-for-some-inexplicable-reason/408683/4 "2024-07-18T03:55:52Z")

</div>

Thanks for sharing your findings. Found that adjusting this in the project’s DefaultEngine.ini works like a charm. This is specifically what I’m doing (With a 1000FPS cap as an example):

```auto
[/Script/Engine.Engine]
bSmoothFrameRate=false
SmoothedFrameRateRange=(LowerBound=(Type="ERangeBoundTypes::Inclusive",Value=22),UpperBound=(Type="ERangeBoundTypes::Exclusive",Value=1000))

[/Script/UnrealEd.EditorEngine]
bSmoothFrameRate=false
SmoothedFrameRateRange=(LowerBound=(Type="ERangeBoundTypes::Inclusive",Value=5),UpperBound=(Type="ERangeBoundTypes::Inclusive",Value=1000))

```
