# Random frame drops when playing in levels

**URL:** <https://forums.unrealengine.com/t/random-frame-drops-when-playing-in-levels/1292865>\
**Category:** Blueprint\
**Tags:** Frame-Rate, lag, unreal-engine, bug-report, Blueprint, question\
**Created:** [September 12, 2023, 10:30pm UTC](https://forums.unrealengine.com/t/random-frame-drops-when-playing-in-levels/1292865 "2023-09-12T22:30:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fallerrr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fallerrr/32/482685_2.png) [@Fallerrr](https://forums.unrealengine.com/u/Fallerrr)\
**Post date:** [September 12, 2023, 10:30pm UTC](https://forums.unrealengine.com/t/random-frame-drops-when-playing-in-levels/1292865/1 "2023-09-12T22:30:57Z")

</div>

This has been a reoccurring issue, but I just remembered I could ask here.  
So for a while now, I’ve had an issue where the frame rate drops drastically in every stage level. I’ve tried everything as far as;

- Making variables for the EVERY cast node in a blueprint so it doesn’t have to be repeated
- Unplugging Event BeginPlay and Event Tick from all their connections
- Deleting actors in the level to reduce entity amount  
But yet there’s still lag.  
I have also noticed, when the player is defeated (reaches 0 health) almost all the lag is muted and gameplay is smooth. I have checked in blueprints where it looks to see if the player is defeated multiple times and I couldn’t find anything that could relate to the lag. Here’s an example:

During play

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/0/d/c0dec07d500be719a5e819b16701c0ec692dc702.jpeg)  
And in the editor  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/3/173b0be5e3e3e221d437abb89897dc1c6606d7f2.jpeg)  
(If you think the lag is being caused by the excessive amounts of actors in the world, this is disproven because I did not have this issue during development of this stage, while these actors were being spawned, and it only started after I put in the code.)

---

<div class="post-metadata">

**Author:** ![MiscellaneousMyth](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/miscellaneousmyth/32/935133_2.png) [@MiscellaneousMyth](https://forums.unrealengine.com/u/MiscellaneousMyth)\
**Post date:** [May 10, 2024, 4:20pm UTC](https://forums.unrealengine.com/t/random-frame-drops-when-playing-in-levels/1292865/2 "2024-05-10T16:20:55Z")

</div>

Try using ‘ProfileGPU’ in the command line while playing, it should give a detailed overview of what’s causing this. If you can get me some more details from it, I can likely assist further. Though I will not be available here soon for several days.

 ![Screenshot 2024-05-10 092137](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/0/f/00f7c47df82bc180ec1bd2befcb161f40fe6da70.png)  
Sorry if I don’t get back to you, but if this solves your problem, make sure to mark it as the solution.

---

<div class="post-metadata">

**Author:** ![Fallerrr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fallerrr/32/482685_2.png) [@Fallerrr](https://forums.unrealengine.com/u/Fallerrr)\
**Post date:** [January 15, 2025, 4:15am UTC](https://forums.unrealengine.com/t/random-frame-drops-when-playing-in-levels/1292865/3 "2025-01-15T04:15:53Z")

</div>

Been a while since I posted this, I believe it’s solved now but this is still useful information!

---

<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:** [February 14, 2025, 4:16am UTC](https://forums.unrealengine.com/t/random-frame-drops-when-playing-in-levels/1292865/4 "2025-02-14T04:16:31Z")

</div>

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