# Need Help In Optimizing My Game.

**URL:** <https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** Optimization, unreal-engine, Rendering, question\
**Created:** [December 4, 2024, 7:40pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341 "2024-12-04T19:40:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![SD\_Gamer45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SD\_Gamer45](https://forums.unrealengine.com/u/SD_Gamer45)\
**Post date:** [December 4, 2024, 7:40pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/1 "2024-12-04T19:40:25Z")

</div>

Hi,  
My game is still lagging even after optimizing BPs and scenes, and the editor is also lagging. I don’t know why I have watched almost every tutorial for optimizing scenes, but still it’s lagging so much.[grid]

 ![Screenshot 2024-12-02 235521](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/1/df155e4bcd8bf252fdfc91f40cddbed719c3aea9.png)  
 ![Screenshot 2024-12-02 235532](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/8/798663e28359353e467bc603ba44777fb2a17c32.png)  
 ![Screenshot 2024-12-02 235540](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/3/c/83cff7526e741c58ec1f046d9a5de3a92c923244.png)  

[/grid]

---

<div class="post-metadata">

**Author:** ![doctorpepperdan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@doctorpepperdan](https://forums.unrealengine.com/u/doctorpepperdan)\
**Post date:** [December 4, 2024, 8:44pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/2 "2024-12-04T20:44:34Z")

</div>

From what I’ve learned using soft object references and minimizing actors using tick is a good start

---

<div class="post-metadata">

**Author:** ![EnerBuck](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EnerBuck](https://forums.unrealengine.com/u/EnerBuck)\
**Post date:** [December 5, 2024, 1:50am UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/3 "2024-12-05T01:50:56Z")

</div>

Hi, did you check size maps? Right click for example on your Player Character → (References) Size Map?

Oh i just noticed, thats a video in the end… how did you build your interface? Could you check the size map of your HUD / Root\_Widget, if you have not done this yet?

---

<div class="post-metadata">

**Author:** ![SD\_Gamer45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SD\_Gamer45](https://forums.unrealengine.com/u/SD_Gamer45)\
**Post date:** [December 5, 2024, 11:51am UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/4 "2024-12-05T11:51:03Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/c/1dcbdb250a9a7f91d7005f749d293185b6fa9819.jpeg)

---

<div class="post-metadata">

**Author:** ![SD\_Gamer45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SD\_Gamer45](https://forums.unrealengine.com/u/SD_Gamer45)\
**Post date:** [December 5, 2024, 11:56am UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/5 "2024-12-05T11:56:21Z")

</div>

how can I check the size map of HUD?  
This is the size map of my level:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/1/0/d10330272c7996bdefbedaa58a2068208f969a2b.jpeg)

---

<div class="post-metadata">

**Author:** ![SD\_Gamer45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SD\_Gamer45](https://forums.unrealengine.com/u/SD_Gamer45)\
**Post date:** [December 5, 2024, 11:59am UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/6 "2024-12-05T11:59:02Z")

</div>

@doctorpepperdan  
any tutorial would you recommend as I have already eliminated most of the tick function from my game

---

<div class="post-metadata">

**Author:** ![SD\_Gamer45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SD\_Gamer45](https://forums.unrealengine.com/u/SD_Gamer45)\
**Post date:** [December 5, 2024, 12:36pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/7 "2024-12-05T12:36:16Z")

</div>



---

<div class="post-metadata">

**Author:** ![sarahlenker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sarahlenker/32/994419_2.png) [@sarahlenker](https://forums.unrealengine.com/u/sarahlenker)\
**Post date:** [December 5, 2024, 4:25pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/8 "2024-12-05T16:25:04Z")

</div>

Hi @SD_Gamer45! Would you be able to attach your insights file? Looking into this further might help debug your issue. It looks like your game thread is spending most of it’s time waiting for tasks- tracking down what those tasks are might help us.

A potential problem- you say you removed almost all on-tick functions- did you replace any with an activate function by timer? It looks like your game is freezing in a pattern of once a second, so this could be caused by an expensive timed function.

---

<div class="post-metadata">

**Author:** ![SD\_Gamer45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SD\_Gamer45](https://forums.unrealengine.com/u/SD_Gamer45)\
**Post date:** [December 6, 2024, 3:48pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/9 "2024-12-06T15:48:07Z")

</div>

I am using set event functions instead of event tick, and how can I get the Insight file?

---

<div class="post-metadata">

**Author:** ![sarahlenker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sarahlenker/32/994419_2.png) [@sarahlenker](https://forums.unrealengine.com/u/sarahlenker)\
**Post date:** [December 6, 2024, 4:52pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/10 "2024-12-06T16:52:32Z")

</div>

@SD_Gamer45 The first screenshots appear to be from an insights trace. Could you either attach that file or send more screenshots please? For more information on how to debug an insights file, this video by an Epic dev is a great resource:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/b/3bb65da89dc0cd97ad726e87ffaa12e490e083ee.jpeg "New Features of Insights: Unreal Engine's Built In Profiling Tools | Inside Unreal") ](https://www.youtube.com/watch?v=af_M38Z325I&t=498s)

Here is another video from the same dev going over general performance practices. Maybe you’ll find this more helpful:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/d/8ed4aa3dea6076e87d90d05c09324297b4a701ef.jpeg "Maximizing Your Game's Performance in Unreal Engine | Unreal Fest 2022") ](https://www.youtube.com/watch?v=GuIav71867E)

---

<div class="post-metadata">

**Author:** ![MK\_Studio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mk_studio/32/1004932_2.png) [@MK\_Studio](https://forums.unrealengine.com/u/MK_Studio)\
**Post date:** [December 7, 2024, 7:55pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/11 "2024-12-07T19:55:33Z")

</div>

I bet you just hitting the roof on your ram. If Level size map is over 5gb I bet the rest is even worst.

1. Decrease all of your textures “Maximum Texture Size” to 1024
2. Bake complex materials into textures
3. Replace all “Cast to” with Interfaces
4. Remove all Hard References and use Soft References instead and load them only when needed
5. If you use Data Tables you should migrate to Data Assets and learn how to load them using Async as much as possible
6. Decrease Global Illumination scalability

---

<div class="post-metadata">

**Author:** ![SD\_Gamer45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SD\_Gamer45](https://forums.unrealengine.com/u/SD_Gamer45)\
**Post date:** [December 9, 2024, 3:34pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/12 "2024-12-09T15:34:58Z")

</div>

@MK_Studio  
How to decrease Global illumination and also how to bake complex materials into Textures?

---

<div class="post-metadata">

**Author:** ![MK\_Studio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mk_studio/32/1004932_2.png) [@MK\_Studio](https://forums.unrealengine.com/u/MK_Studio)\
**Post date:** [December 9, 2024, 7:09pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/13 "2024-12-09T19:09:21Z")

</div>

> [@SD\_Gamer45](#):
>
> How to decrease Global illumination

Top Left Corner there is a button called settings from there you can access scalability options where you can decrease what you want, Global Illumination, Shadows and Reflection are the one that hit the most. But 80% of power is drained by Global Illumination. Decreasing it under high should give you some good performance

 ![scaler_viewqual](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/0/0e0a46ca8f50780d1be645daf5ff6a48e528228a.png)

> [@SD\_Gamer45](#):
>
> how to bake complex materials into Textures?

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/4/af4674337050338e5d470f230f9bef02d2739232.jpeg "UE5: Bake Materials to Texture Maps (60 Seconds!!)") ](https://www.youtube.com/watch?v=VNU_IGSkJ8s)

---

<div class="post-metadata">

**Author:** ![SD\_Gamer45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SD\_Gamer45](https://forums.unrealengine.com/u/SD_Gamer45)\
**Post date:** [December 9, 2024, 9:13pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/14 "2024-12-09T21:13:15Z")

</div>

@MK_Studio

  
Some textures are behaving weirdly. When I am near some buildings, their textures get a bit off. I am attaching a video for better understanding.  
 ![Screenshot 2024-12-10 020403](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/d/91d9a936080d37d5449e28fd4478abe42222852c.jpeg)  
 ![Screenshot 2024-12-10 020413](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/d/87d02b5330c10d417638f5d65daf810c6a492b17.jpeg)

---

<div class="post-metadata">

**Author:** ![MK\_Studio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mk_studio/32/1004932_2.png) [@MK\_Studio](https://forums.unrealengine.com/u/MK_Studio)\
**Post date:** [December 10, 2024, 7:24am UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/15 "2024-12-10T07:24:37Z")

</div>

By any chance, do you see this artifacts in Scalability at Medium but on High it fixes?

---

<div class="post-metadata">

**Author:** ![SD\_Gamer45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SD\_Gamer45](https://forums.unrealengine.com/u/SD_Gamer45)\
**Post date:** [December 10, 2024, 1:42pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/16 "2024-12-10T13:42:28Z")

</div>

@MK_Studio Its already on HIGH

---

<div class="post-metadata">

**Author:** ![SD\_Gamer45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SD\_Gamer45](https://forums.unrealengine.com/u/SD_Gamer45)\
**Post date:** [December 10, 2024, 3:13pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/17 "2024-12-10T15:13:10Z")

</div>

@sarahlenker

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/6/a362a58283a3f54fdc60cc4d0153f0344b9a843d.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/1/361528db5977cf565f68725804ca45ad26d5c8c6.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/0/3/403bd7b0d7eb44e26388e73c2b15d33c7349a377.png)

---

<div class="post-metadata">

**Author:** ![SD\_Gamer45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SD\_Gamer45](https://forums.unrealengine.com/u/SD_Gamer45)\
**Post date:** [December 12, 2024, 4:33pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/18 "2024-12-12T16:33:08Z")

</div>

@MK_Studio  
Any solution to fix these textures?

---

<div class="post-metadata">

**Author:** ![MK\_Studio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mk_studio/32/1004932_2.png) [@MK\_Studio](https://forums.unrealengine.com/u/MK_Studio)\
**Post date:** [December 12, 2024, 4:35pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/19 "2024-12-12T16:35:50Z")

</div>

This issue appeared after combining the meshes into one? Or it was there before

---

<div class="post-metadata">

**Author:** ![SD\_Gamer45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SD\_Gamer45](https://forums.unrealengine.com/u/SD_Gamer45)\
**Post date:** [December 12, 2024, 4:41pm UTC](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341/20 "2024-12-12T16:41:00Z")

</div>

It appeared after baking materials.

[Next page](https://forums.unrealengine.com/t/need-help-in-optimizing-my-game/2171341.md?page=2)
