# PGC playing and saving lagging

**URL:** <https://forums.unrealengine.com/t/pgc-playing-and-saving-lagging/1420180>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [November 25, 2023, 3:37pm UTC](https://forums.unrealengine.com/t/pgc-playing-and-saving-lagging/1420180 "2023-11-25T15:37:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alex1987](https://forums.unrealengine.com/u/Alex1987)\
**Post date:** [November 25, 2023, 3:37pm UTC](https://forums.unrealengine.com/t/pgc-playing-and-saving-lagging/1420180/1 "2023-11-25T15:37:23Z")

</div>

Hi guys I created a level with a PGC and It was reaaally bad in terms of FPS.  
I watched a couple of tutorials and optimized increasing the world offset and a couple adjustments to the lighting. I am quite happy with it as now it runs with 70 fps. However, it takes around 15 secs to save the level and also to play the game itself when before it was instantly.  
I tried to recreate the level and it has to be with the PGC itself as when I remove it comes back to normality. Any ideas if there is any way to optimise it?

Thank you

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [November 25, 2023, 4:53pm UTC](https://forums.unrealengine.com/t/pgc-playing-and-saving-lagging/1420180/2 "2023-11-25T16:53:32Z")

</div>

Optimize your assets. Every actor, mesh, material etc.

---

<div class="post-metadata">

**Author:** ![Alex1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alex1987](https://forums.unrealengine.com/u/Alex1987)\
**Post date:** [November 25, 2023, 9:38pm UTC](https://forums.unrealengine.com/t/pgc-playing-and-saving-lagging/1420180/3 "2023-11-25T21:38:28Z")

</div>

sorry how exactly? I am using nanite so my understanding is that is not using LODs ?  
I am a bit newbie in terms of optimization, any recommendations please?

Thanks

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [November 26, 2023, 6:04pm UTC](https://forums.unrealengine.com/t/pgc-playing-and-saving-lagging/1420180/4 "2023-11-26T18:04:54Z")

</div>

LoD’s aren’t then end all be all to optimizing meshes, nor is using Nanite. You can still go through and reduce tris/verts where they aren’t needed. Some meshes shouldn’t even be used with nanite. It can be the case that they are better suited for LoD’s.

There’s also material clean up, reducing shader instructions and complexity where possible., Texture packing, atlases etc.

> **[How To Create a Texture Atlas Master Material in Unreal Engine 5 | Community...](https://dev.epicgames.com/community/learning/tutorials/OzW4/how-to-create-a-texture-atlas-master-material-in-unreal-engine-5)**
>
> A tutorial on how to create a texture atlas master material in Unreal Engine 5. Texture atlases are a great way to lower your games texture memory and r...

Reducing texture sizes where applicable can be extremely beneficial to load/unload times. Reducing draw calls, will increase FPS and general performance.

* * *

You should really take a look at this thread.

> [@How to optimize Nanite enabled mesh?](https://forums.unrealengine.com/t/how-to-optimize-nanite-enabled-mesh/233444/16):
>
> BUMP. It’s obvious from Fortnite’s performance, an Epic Games production. And from other games utilizing Nanite. The performacne will always be worse vs LOD optimization. What we really need is the auto LOD algorimth to resemble Nanites scale down method. And a better dither effect. This temporal dither is so ugly. If FN and City Sample (with no AI) run the same LOW FPS with the same settings. As I tested for myself by changing the City Samples project settings to the most optimized settings…

Nanite has a fairly specific use case. In almost all situations you are better off using traditional methods (LoD’s etc).

Nanite is not a performance magic wand.

---

<div class="post-metadata">

**Author:** ![Alex1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alex1987](https://forums.unrealengine.com/u/Alex1987)\
**Post date:** [November 26, 2023, 10:45pm UTC](https://forums.unrealengine.com/t/pgc-playing-and-saving-lagging/1420180/5 "2023-11-26T22:45:05Z")

</div>

Hi Rev0verDrive, thanks again for taking the time for such a detailed explanation. It really helped and I wasn’t even aware of atlases so I will definitely look at that.  
I thought that I was meant to use nanite almost every time but it is really good to know that is not correct. Would it be OK to think of using nanite for those meshes that are very likely to repeat (like those I use in PGC or landscape painting) but for the rest of the meshes using LODs?

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [November 26, 2023, 11:52pm UTC](https://forums.unrealengine.com/t/pgc-playing-and-saving-lagging/1420180/6 "2023-11-26T23:52:35Z")

</div>

Depends on the poly count of the meshes. Nanite has overhead. It’ll hit performance a bit. It’s mainly for very high poly count meshes. Say a scene with billions of poly’s. Each mesh having 500,000 or more. More, like million poly meshes is preferred.

If you aren’t going for that level of detail (not good for multiplayer), then going traditional is more than likely the better road.

You have to weigh it yourself. Nanite performance vs traditional.

---

<div class="post-metadata">

**Author:** ![Alex1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alex1987](https://forums.unrealengine.com/u/Alex1987)\
**Post date:** [November 28, 2023, 7:14pm UTC](https://forums.unrealengine.com/t/pgc-playing-and-saving-lagging/1420180/7 "2023-11-28T19:14:11Z")

</div>

thanks for this information I will have it in mind from now on then.

---

<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:** [December 28, 2023, 7:14pm UTC](https://forums.unrealengine.com/t/pgc-playing-and-saving-lagging/1420180/8 "2023-12-28T19:14:51Z")

</div>

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