# 5.4.2 CompositeEditorPrimitives and PopulateDepth causing major performance issues

**URL:** <https://forums.unrealengine.com/t/5-4-2-compositeeditorprimitives-and-populatedepth-causing-major-performance-issues/1916572>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine, question\
**Created:** [June 25, 2024, 9:17pm UTC](https://forums.unrealengine.com/t/5-4-2-compositeeditorprimitives-and-populatedepth-causing-major-performance-issues/1916572 "2024-06-25T21:17:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SE\_JonF](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/se_jonf/32/958477_2.png) [@SE\_JonF](https://forums.unrealengine.com/u/SE_JonF)\
**Post date:** [June 25, 2024, 9:17pm UTC](https://forums.unrealengine.com/t/5-4-2-compositeeditorprimitives-and-populatedepth-causing-major-performance-issues/1916572/1 "2024-06-25T21:17:27Z")

</div>

I’ve been working in a project for the past couple weeks without issue, however starting a couple days ago I began to have issues where my performance would tank significantly on certain scenes. They are relatively empty, its is just floor with a character and some lights.

The strange thing is nothing has really changed in project settings or even materially/scene wise. Given it was associated with a spiked GPU cost, I ran a ProfileGPU and noticed it was related to CompositeEditorPrimitives \> PopulateDepth, ranging anywhere from 20-40ms in cost.

I can’t seem to find anything related to this on the internet. One thing I noticed is it tends to happen reliably when switching to full screen mode, and sometimes if I get too close to the character. Otherwise though it can also happen by just loading the level.

Any idea what it could be?

---

<div class="post-metadata">

**Author:** ![Danta1ion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/danta1ion/32/912541_2.png) [@Danta1ion](https://forums.unrealengine.com/u/Danta1ion)\
**Post date:** [October 23, 2025, 9:06am UTC](https://forums.unrealengine.com/t/5-4-2-compositeeditorprimitives-and-populatedepth-causing-major-performance-issues/1916572/2 "2025-10-23T09:06:53Z")

</div>

Yeah, I found something wrong with the editor primitives too.

I opened an empty level and used Render Resources Viewer to see how much VRAM it will take. Surprisingly the `Editor.PrimitivesDepth` and `Editor.PrimitivesColor` will take about 250 MB VRAM, even though the scene is completely empty!

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/a/fba835d32b77b92087d071151ef0b0c08a002a1d.png)

In my real project, `Editor.PrimitivesDepth` takes up to 2GB VRAM! That’s incredible!

---

<div class="post-metadata">

**Author:** ![SFDEMIR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sfdemir/32/1090477_2.png) [@SFDEMIR](https://forums.unrealengine.com/u/SFDEMIR)\
**Post date:** [October 27, 2025, 12:32am UTC](https://forums.unrealengine.com/t/5-4-2-compositeeditorprimitives-and-populatedepth-causing-major-performance-issues/1916572/3 "2025-10-27T00:32:03Z")

</div>

That’s a very useful breakdown, and I’ve come across similar GPU spikes in cases where **editor visual components** were lingering or misbehaving—especially with _Editor Primitives_.

Here are a few things you might try:

1. **Disable “Show \> Editor Primitives”** in the viewport to test whether the issue disappears.

2. If you’re using **custom skeletal meshes or complex materials** , double-check whether they are accidentally flagged as `bRenderInEditor = true`.

3. Try running the level in a **standalone game window** rather than the editor viewport—it can help isolate whether the issue is editor-only.

4. Consider checking your **Post Process Volume** settings. Certain screen-space effects (even when disabled in Lumen/Nanite) can spike under weird combinations.

Also worth noting: some engine versions introduced regressions tied to editor-only rendering systems, so if this started recently, it might be version-related.

Let us know if narrowing it down to PopulateDepth turns up anything more specific.

**All the best and kind regards,  
SFDEMIR**

---

<div class="post-metadata">

**Author:** ![Zoey\_222](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zoey\_222](https://forums.unrealengine.com/u/Zoey_222)\
**Post date:** [March 27, 2026, 10:45pm UTC](https://forums.unrealengine.com/t/5-4-2-compositeeditorprimitives-and-populatedepth-causing-major-performance-issues/1916572/4 "2026-03-27T22:45:11Z")

</div>

Hello! I have a very simple scene that is used as a basic object viewer. It contains a few gridded planes and one test character. In Unreal 5.4.4 the scene runs flawlessly in-editor. But opening the same scene in 5.7.4 and I have video memory exhaustion around 3-5gb.

The video exhaustion goes away only if I do 3 things:

1. Disable Composite Editor Primitives, as you described in point 1. The only editor primitives in the scene are wire boxes, we use custom static meshes for this scene. (This takes 2 GIGABYTES of gpu memory).

2. Turn off visibility for the single postProcessVolume in the scene. All it does is a bit of colorgrading. (800 megabytes)

3. turn off visibility of the volumetricCloud actor (800 megabytes)

If any of those are turned on, video memory gets exhausted to some degree.  
Attached images of the scene as proof in both the before and after state.

Do you have any suggestions for resolving this? I cannot think of a way that I could fix it as a user.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/8/c/58c1a3328acdaf57715c21b765c09f6a717da7bd.jpeg)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/0/e3076b0a13a964993349eca7510c074988e208f5.jpeg)

---

<div class="post-metadata">

**Author:** ![Zoey\_222](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zoey\_222](https://forums.unrealengine.com/u/Zoey_222)\
**Post date:** [March 30, 2026, 10:20pm UTC](https://forums.unrealengine.com/t/5-4-2-compositeeditorprimitives-and-populatedepth-causing-major-performance-issues/1916572/5 "2026-03-30T22:20:36Z")

</div>

While I cant fix the 2gb memory required by unreal 5 to render a couple icons, I was able to figure out the other thing in my scene causing massive performance issues.

It was a scene cap in a con script

> [@Why does a Scene Capture Component Cube in a Construction Script Decimate Perf?](https://forums.unrealengine.com/t/why-does-a-scene-capture-component-cube-in-a-construction-script-decimate-perf/2710186):
>
> This setup utterly destroys perf in Unreal 5.5-5.7. It works just fine in 5.4. Why? [image]
