# \[RESOLVED\] FPS Drop / Hitch / Stutter every few seconds

**URL:** <https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [August 13, 2020, 7:25pm UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714 "2020-08-13T19:25:08Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![TJ\_Phoenix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TJ\_Phoenix](https://forums.unrealengine.com/u/TJ_Phoenix)\
**Post date:** [August 13, 2020, 7:25pm UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/1 "2020-08-13T19:25:08Z")

</div>

So I’ve been trying to find an answer to this online and I’ve come across various other people running into a similar issue but I haven’t quite found a solution that has worked for me. I’m not new to the engine but I have little experience with the debugging tools or how to show a log so please bear with me.

I have a stutter/hitch every 2-3 seconds where my FPS drops drastically. This is happening in the editor and in-game. It’s also happening regardless of what’s in the level. For instance, I created a blank map and it’s still hitching every few seconds. See images below:

 ![310132-hitch1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/5/b85e97e4ee2fc42608e5cb0b348a352a1ffb3b54.jpeg)

_FPS stays at roughly 60 until a hitch happens_

 ![310133-hitch2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/f/d3f0908e9e1f0f61553bc536b73be045883f33ca.jpeg)

_Then it drops drastically just for a quick ms_

I’ve disabled smooth frame rate, I’ve updated my video card drivers to the current version, I’m running Directx 12  
I’ve disabled Radeon Gaming Overlay, and my specs are twice the minimum standards.

I am at a complete loss as to where to go from here, If someone can help, it would be a godsend.

Thank you in advance for any advice or tips!

---

<div class="post-metadata">

**Author:** ![Marcis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/marcis/32/1103070_2.png) [@Marcis](https://forums.unrealengine.com/u/Marcis)\
**Post date:** [August 14, 2020, 12:06am UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/2 "2020-08-14T00:06:20Z")

</div>

Have you verified the engine files from the launcher? Have you checked the task manager during these hitches? Does this happen in 4.25 as well? Run profileGPUhitches console command and see what’s up (it needs to be manually toggled off when done).

---

<div class="post-metadata">

**Author:** ![TJ\_Phoenix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TJ\_Phoenix](https://forums.unrealengine.com/u/TJ_Phoenix)\
**Post date:** [August 14, 2020, 4:47pm UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/3 "2020-08-14T16:47:03Z")

</div>

Hey there, thanks for the reply! After some tinkering around, inspired by your response, I managed to fix my problem! Thank you so much, it’s such a relief to finally move past this!

So here’s what I did and to answer your questions:

I was having the hitching issue on 4.24 and 4.25 but not on 4.21

I did verify the engine files for 4.24

While I was doing that, I also went through my task manager and then my privacy settings disabling everything and anything that could be running in the background. I updated every single setting I could find for automatic updates or anything of that nature.

Once the verification was done, I redid my hitch test and the hitch was gone! It was also gone for 4.25 so I don’t believe the verification was the issue but it was something running in the background that got turned off.

That being said, again, thanks for the help and hopefully this might help someone else in the future!

---

<div class="post-metadata">

**Author:** ![PhosphorArt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PhosphorArt](https://forums.unrealengine.com/u/PhosphorArt)\
**Post date:** [September 30, 2020, 2:06am UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/4 "2020-09-30T02:06:06Z")

</div>

this solved the issue for me

> **[r/unrealengine - Stuttering in any project in UE 4.24](https://www.reddit.com/r/unrealengine/comments/ekwtwg/stuttering_in_any_project_in_ue_424/)**
>
> 2 votes and 16 comments so far on Reddit

"I found what was causing the issue but not why. If you don’t use UDP connections you can disable them in the project settings like I did here. Turns out it’s a rare issue with 4.24. It’s not a solution but that’s what I’ll settle on until I figure out what it is or if it’s on their end and they fix it with 4.25.

It could be something related to the Android SDK as I remember downloading it once and removing months ago, then later I switched to 4.24. I wasn’t even using the SDK anyway."

---

<div class="post-metadata">

**Author:** ![Stephen\_Palmer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stephen_palmer/32/88709_2.png) [@Stephen\_Palmer](https://forums.unrealengine.com/u/Stephen_Palmer)\
**Post date:** [July 23, 2021, 12:07pm UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/5 "2021-07-23T12:07:36Z")

</div>

Suddenly started getting this too with 4.26.2 even on blank project template. Disabling UDP Messaging from Plug-Ins fixed it for me too. Thanks.

---

<div class="post-metadata">

**Author:** ![DopDie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DopDie](https://forums.unrealengine.com/u/DopDie)\
**Post date:** [July 31, 2021, 2:08pm UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/6 "2021-07-31T14:08:52Z")

</div>

I couldnt fix it still ☹  
I also am using 4.26.2

---

<div class="post-metadata">

**Author:** ![Reckless\_James](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reckless\_James](https://forums.unrealengine.com/u/Reckless_James)\
**Post date:** [September 2, 2021, 10:59am UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/7 "2021-09-02T10:59:27Z")

</div>

I have the same issue, despite having FPS of around 90 to 100. Its even more annoying that I have once fixed this before, but this crappy program reset my settings recently and now I have no idea how I had fixed it before. Im sick and tired of this issue for months now. (version 4.26)

---

<div class="post-metadata">

**Author:** ![LordStuff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LordStuff](https://forums.unrealengine.com/u/LordStuff)\
**Post date:** [April 17, 2022, 4:10pm UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/8 "2022-04-17T16:10:26Z")

</div>

Hi there!  
I had this happen in 4.27 AND UE 5.0.

Disabling the UDP transport setting worked.  
Also, disabling the LogMeIn Hamachi network adapter or similar VPN adapters in Windows worked without having to disabled UDP transport.

Thanks for the information.

---

<div class="post-metadata">

**Author:** ![jacksonnexhip](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacksonnexhip/32/494650_2.png) [@jacksonnexhip](https://forums.unrealengine.com/u/jacksonnexhip)\
**Post date:** [June 9, 2022, 12:04pm UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/9 "2022-06-09T12:04:39Z")

</div>

Disabling UDP Messaging in plugins fixed it for me too. Engine version 4.26.2

---

<div class="post-metadata">

**Author:** ![lwjacob](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lwjacob/32/615841_2.png) [@lwjacob](https://forums.unrealengine.com/u/lwjacob)\
**Post date:** [October 26, 2023, 11:01am UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/10 "2023-10-26T11:01:36Z")

</div>

Disabling UDP does nothing for me. FPS is all over the place. I’m getting random numbers, from 50 to 300 every half second. Reinstalled the engine and did try in the Third Person Template. Same problem. Didn’t happen before Unreal 5.2. Don’t know what else to troubleshoot.

---

<div class="post-metadata">

**Author:** ![TheKJ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheKJ](https://forums.unrealengine.com/u/TheKJ)\
**Post date:** [May 14, 2024, 9:46am UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/11 "2024-05-14T09:46:12Z")

</div>

Same, UE5.4.1 is doing this randomly now.

---

<div class="post-metadata">

**Author:** ![Neutronux](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neutronux/32/1194630_2.png) [@Neutronux](https://forums.unrealengine.com/u/Neutronux)\
**Post date:** [June 17, 2024, 2:28pm UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/12 "2024-06-17T14:28:33Z")

</div>

Same here. It’s haning … just does not run smooth. Like the image is frozen for a few msecs but it happens periodically. Same szene, same everything in 5.3 runs smooth.

---

<div class="post-metadata">

**Author:** ![kweenkobruh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kweenkobruh](https://forums.unrealengine.com/u/kweenkobruh)\
**Post date:** [June 21, 2024, 1:35pm UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/13 "2024-06-21T13:35:45Z")

</div>

Had the same problem, turns out I was saving my projects to my HDD. Moved everything to my SSD and now it runs smoothly.

---

<div class="post-metadata">

**Author:** ![Neutronux](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neutronux/32/1194630_2.png) [@Neutronux](https://forums.unrealengine.com/u/Neutronux)\
**Post date:** [June 23, 2024, 8:04pm UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/14 "2024-06-23T20:04:01Z")

</div>

I’ve my project already on SSD and it’s running smooth with UE5.3 but is running with less FPS and micro-stutter all second in UE5.4.

Edit: Fixed it by running:  
**UnrealEditor.exe path\_to\ProjectName.uproject -run=DerivedDataCache -fill**

…which actually took almost 3hours to complete. Stuttering is fixed now. Just FPS are still very, very, very bad with nanite in 5.4 compared to 5.3.

---

<div class="post-metadata">

**Author:** ![theotherkyle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theotherkyle](https://forums.unrealengine.com/u/theotherkyle)\
**Post date:** [June 27, 2024, 1:36am UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/15 "2024-06-27T01:36:28Z")

</div>

the specific thing that solves this for me, is to enable “Use Fixed Frame Rate” and ANY Fixed Frame Rate. Even setting to 120 FPS. I have no idea why this ‘fix’ is not described anywhere else on here, nor why it works for me. But sharing if it helps.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/4/ce4dc006e98deb3e89ccf6058e4fd79394892bba.png)

---

<div class="post-metadata">

**Author:** ![Hairy\_Primate](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hairy\_Primate](https://forums.unrealengine.com/u/Hairy_Primate)\
**Post date:** [June 28, 2024, 12:22pm UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/16 "2024-06-28T12:22:32Z")

</div>

I’m not a computer expert, no take my comments with a salt. However, I have been plagued with the FPS blues in UE 5.4 so tried to work on the problem, if only so I could actually use UE again.

I seemed to me that there is actually two problems with FPS rolled into one. Firstly, the capping FPS to 60 frames, which means there is less frames to play with. Secondly, the frames are being used in part for UE5 to create shaders on the fly.

The first problem may not be the making of UE and a have a simple solution way be in Window 11. Mirosoft seems to be “greening” Window 11. If you look at the settings in “System \> Power & Battery \> Energy Recommendations” there is a option which says “Lower your refresh rate to 60 Hz to conserve energy”. Thiis may not have anything (and you may be right), but it seemed to me that it was a coincidence that iI was also getting 60 FPS on my screen. It made me see whether I could turn the 60 Hz off and see what happens. After so looking I found an option in “System \> Display \> Advanced display” which have the option to choose “Choose a refresh rate”. It had the rate from “60.03 Hz” tp “144.03 Hz”, so I chose the latter. When I went back to UE. The editor screen when to 120 FPS. This may be nuts, but give it a go and see what happens.

Now to the main problem and TLRD for those wanting the conclusion, the FPS may because the frames are now being used for creating shaders on the fly when running PIE, The journey for this started with a look at my output log. Here is an extract from my output log:

"Creating RTPSO with 18 shaders (0 cached, 18 new) took 166.35 ms. Compile time 43.76 ms, link time 122.57 ms.  
…  
LogD3D12RHI: Creating RTPSO with 17 shaders (0 cached, 17 new) took 47.95 ms. Compile time 37.30 ms, link time 10.63 ms.  
…  
Creating RTPSO with 18 shaders (10 cached, 8 new) took 47.75 ms. Compile time 39.12 ms, link time 8.61 ms.‘’

This told me that UE was creating the shaders around the time of the “drops” displayed in the FPS counter on the screen. This was a theory, but I needed to delve deeper to see whether “RTPSO” had any relevance. With some Google help I was able to find out that it was “_ray tracing pipeline state object_” or RTPSO for short.

My does RTPSO to get the data from frames on the fly to create shaders in DX12. I don’t say that I understand the computer program mumble, but in the " Ray Tracing Gems High-Quality and Real-Time Rendering with DXR and Other APIS" article by " Copyright © 2019 by NVIDIA". The author says that:

“Fortunately, both DirectX Raytracing and all other NVIDIA ray tracing APIs enabled by RTX expose the ability to compile in parallel multiple ray tracing shaders to machine code”.

The author then explains what this means in practical terms:

“This parallel compilation can take advantage of the multiple cores of today’s CPUs. In the  
experimental UE4 implementation, we used this functionality by simply scheduling  
separate tasks, each of which compiled a single ray tracing shader or hit group into  
what DXR calls a collection. Every frame, if no other shader compilation tasks were  
already executing, we checked if any new shaders were needed and not available.  
If any such shaders were found, we started a new batch of shader compilation  
tasks. Every frame we also checked if any prior set of shader compilation tasks  
had completed. If so, we created a new RTPSO, replacing the previous one. At any  
time, a single RTPSO is used for all DispatchRays() invocations in a frame. Any  
old RTPSOs replaced by a new RTPSO are scheduled for deferred deletion when no  
longer used by any in-flight frames. Objects for which a required shader was not yet  
available in the current RTPSO were removed (skipped) when building the TLAS.”

The shaders are then held in the Shader Binding Table, which what stored in memory and eventualy stored in my project in the “DerivedDataCache” folder. The use of the table is then used to make the changes to the shader:

“This table is a memory buffer made up of multiple records, each containing an opaque shader identifier and some shader parameters that are equivalent to what DirectX 12 calls a root table (for a Graphics Pipeline Draw or Compute Pipeline Dispatch). Since this first experimental implementation was designed to update shader parameters for every object in the scene at every  
frame, the Shader Binding Table management was simple, mimicking that of a  
command buffer. The Shader Binding Table was allocated as an N-buffered linear  
memory buffer, with size dictated by the number of objects in the scene. At every  
frame we simply started writing the entire Shader Binding Table from scratch in  
a GPU-visible CPU-writable buffer (in an upload heap).”

The author concluded that RTPSO is there to stay, but is somewhat expensive in some practical applications:

“The recent introduction of dedicated hardware for ray tracing acceleration and the  
addition of ray tracing support in graphics APIs encouraged us to be innovative  
and experiment with a new way of hybrid rendering, combining rasterization and  
ray tracing. We went through the engineering practice of integrating ray tracing  
in Unreal Engine 4, a commercial-grade game engine. We invented innovative  
reconstruction filters for rendering stochastic effects such as glossy reflections, soft  
shadows, ambient occlusion, and diffuse indirect illumination with as few as a single  
path per pixel, making these expensive effects more practical for use in real time.  
We have successfully used hybrid rendering to create two cinematic-quality demos.”

In with that I ended my journey more knowldge, but with the conclusion that my high FPS counter may be the books for history.

---

<div class="post-metadata">

**Author:** ![theotherkyle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theotherkyle](https://forums.unrealengine.com/u/theotherkyle)\
**Post date:** [July 1, 2024, 5:26pm UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/17 "2024-07-01T17:26:22Z")

</div>

@Hairy_Primate did you find anything to fix the problem?

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 31, 2024, 5:26pm UTC](https://forums.unrealengine.com/t/resolved-fps-drop-hitch-stutter-every-few-seconds/469714/18 "2024-07-31T17:26:49Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
