# Severe Performance Degradation When Adding/Removing Prefab Entities After UEFN V38.0 Update

**URL:** <https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831>\
**Category:** Issues and Bug Reporting\
**Tags:** fortnite-creative, unreal-editor-for-fortnite, fixed, fortnite\
**Created:** [November 5, 2025, 3:03am UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831 "2025-11-05T03:03:46Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![K1K000ZL](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/k1k000zl/32/997041_2.png) [@K1K000ZL](https://forums.unrealengine.com/u/K1K000ZL)\
**Post date:** [November 5, 2025, 3:03am UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/1 "2025-11-05T03:03:46Z")

</div>

After update V38.0, adding and removing entities in the world started to cause severe server degradation.  
I’m developing a procedural system that relies on spawning and removing Prefabs dynamically. Each prefab contains several child entities with components (static meshes, logic, etc.).  
Before this update everything worked fine but now the performance cost increased drastically.

Using Verse profiling, the average cost to add just 1 prefab to the world is now around 300 ms, and the value keeps increasing over time until the session eventually crashes.

### Please select what you are reporting on:

Unreal Editor for Fortnite

### What Type of Bug are you experiencing?

Stability

### Steps to Reproduce

Steps to Reproduce

Create a Prefab and add several child entities with static\_mesh\_component and simple logic.

Use Verse to spawn this prefab dynamically.

Add and remove this entity repeatedly from the world.

Use profile() in Verse to monitor performance.

Observe that each add/remove iteration increases the cost progressively

Example Verse code for testing:

tile\_spawn\_debug\_device := class(creative\_device):

```auto
@editable
DebugButton : button_device = button_device{}

@editable
Entity : ?entity = false

OnBegin<override>()<suspends>: void =
    DebugButton.InteractedWithEvent.Subscribe(OnDebugButtonPressed)

OnDebugButtonPressed(Agent : agent):void=
    spawn:
        RunSpawnTest()

RunSpawnTest<public>()<suspends>: void =
    loop:
        profile("TileDebug:InstantiatePrefab"):
            spawn:
                TrySpawn()
        Sleep(2.0)

TrySpawn()<suspends>:void=
    if(HasEntity := Entity?):
        if (Sim := GetSimulationEntity[]):
            Sim.AddEntities(array{HasEntity})
            Sleep(1.0)
            HasEntity.RemoveFromParent()

```

### Expected Result

Spawning and removing prefabs should maintain stable performance, with consistent profiling times similar to previous versions (V37.x and earlier).

### Observed Result

After the V38.0 update, every Add/Remove operation increases the processing cost exponentially.

Average time per spawn rose to ~300 ms (and growing).

The degradation accumulates over time.

Eventually the island crashes due to performance exhaustion.

### Platform(s)

Windows (UEFN / Verse)

### Video

[https://streamable.com/dszl7t](https://streamable.com/dszl7t)

### Additional Notes

This issue directly affects any use of dynamic prefabs in Verse.  
The problem appears before the prefab even finishes spawning simply instantiating the entity already spikes the profiling cost.

---

<div class="post-metadata">

**Author:** ![SGSensei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SGSensei](https://forums.unrealengine.com/u/SGSensei)\
**Post date:** [November 6, 2025, 4:05am UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/5 "2025-11-06T04:05:39Z")

</div>

Im getting a similar client crash, can you pull your fortnite client logs and search for “fatal error” or “total uObjects”, and see if you are getting the “Maximum number of UObjects (2162688) exceeded when trying to add 1 object(s), make sure you update MaxObjectsInGame/MaxObjectsInEditor/MaxObjectsInProgram in project settings.” error? Thats what I see in my logs.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/1/641e9cb7ca90136fcce1bb47723a7d9a0e656d2c.png)

---

<div class="post-metadata">

**Author:** ![SGSensei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SGSensei](https://forums.unrealengine.com/u/SGSensei)\
**Post date:** [November 6, 2025, 4:06am UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/6 "2025-11-06T04:06:15Z")

</div>

My issue can be followed here, seems very similar to yours. It seems individual clients continue to track entities that have been trashed and eventually run out of space. [[Scene Graph] Client crashes after 10 minutes of consistently spawning and despawning entities](https://forums.unrealengine.com/t/scene-graph-client-crashes-after-10-minutes-of-consistently-spawning-and-despawning-entities/2671752)

---

<div class="post-metadata">

**Author:** ![SGSensei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SGSensei](https://forums.unrealengine.com/u/SGSensei)\
**Post date:** [November 6, 2025, 4:09am UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/7 "2025-11-06T04:09:43Z")

</div>

Also based of your video, im not really seeing the server degrade. It just continues to spit out approx 300 ms. Maybe thats slow, maybe its not, but its not getting worse as you spawn more seemingly. Your client just straight up crashes. I have this same exact issue. If I do unpublished version and play on two devices, only one of them crashes at a time. The server remain perfectly healthy, and the crashing player can rejoin perfectly fine. Then eventually the other player crashes etc. Yet the server is fine…. Very very strange.

---

<div class="post-metadata">

**Author:** ![K1K000ZL](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/k1k000zl/32/997041_2.png) [@K1K000ZL](https://forums.unrealengine.com/u/K1K000ZL)\
**Post date:** [November 6, 2025, 3:04pm UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/8 "2025-11-06T15:04:18Z")

</div>

@Flak

think I might have found a possible root cause for the crash and performance degradation when continuously spawning and despawning entities.

After testing and analyzing the logs, it seems this issue started after the V38.0 update, specifically related to the new player visibility control that was introduced.

Previously, `RemoveFromParent()` would fully clear the entity reference both on the server and the client.  
But now, with the new functions:

`(Entity:entity).SetPresentableToPlayers(Players:?[]player):void `  
`(Entity:entity).GetPresentableToPlayers():?[]player`

we gained per-player visibility control which is great, since we can now decide which players can see a given entity.

However, this also seems to be where the issue comes from:

When we call `RemoveFromParent()`, the server cleans up the entity, but the client keeps a rendering reference for it likely because it’s still marked as presentable for one or more players.

This would explain why performance and memory usage keep increasing with each spawn/despawn loop:  
the client is retaining instances that never actually get destroyed, as their visibility references persist.

In short:

`RemoveFromParent()` clears the entity on the server.

But client-side, the `PresentableToPlayers `references remain alive.

Since V38 introduced this separation of visibility control, these lingering refs might not be getting properly cleared.

It might be worth checking whether the `PresentableToPlayers` state is being automatically reset when an entity is removed, or if we now need to handle that manually.

---

<div class="post-metadata">

**Author:** ![SGSensei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SGSensei](https://forums.unrealengine.com/u/SGSensei)\
**Post date:** [November 6, 2025, 4:53pm UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/9 "2025-11-06T16:53:17Z")

</div>

Here are my crash logs related to uobjects. Can you pull your logs and see if you have similar errors with uobjects running away?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/6/8b669fc912532dda2ae38aae67a3e1f13ec35d71.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/1/b0107898de027fe03fd6989db43acf27b6a604e3.png)

---

<div class="post-metadata">

**Author:** ![SGSensei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SGSensei](https://forums.unrealengine.com/u/SGSensei)\
**Post date:** [November 6, 2025, 4:54pm UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/10 "2025-11-06T16:54:46Z")

</div>

@Flak This is a severely major issue that seemingly effects every client, whether they are on pc, mobile or console. Can it be prioritized asap?

---

<div class="post-metadata">

**Author:** ![SGSensei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SGSensei](https://forums.unrealengine.com/u/SGSensei)\
**Post date:** [November 6, 2025, 5:10pm UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/11 "2025-11-06T17:10:00Z")

</div>

Tbh im not sure if this has anything to do with presentable however…. I believe I was having this crash already prior to the v38.0.0 update, and was awaiting the 8000 entity JIP fix hoping it would fix this crash. But it has not unfortunately.

Actually I take this back, since the presentable stuff was actually introduced earlier, and only recently exposed to us

---

<div class="post-metadata">

**Author:** ![SGSensei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SGSensei](https://forums.unrealengine.com/u/SGSensei)\
**Post date:** [November 13, 2025, 8:31pm UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/18 "2025-11-13T20:31:59Z")

</div>

All of a sudden today the client crashes have stopped happening. So whoever is working on this issue, seems to be making progress with whatever it is they are changing. Ive never been able to play my game long enough to run out of memory itself, previously the fatal uobject crash was happening.

Now that the individual client crash is resolved, there is still an issue with the server seemingly. I previously have never been able to get a detailed error message such as the following to appear… but it does now with w/e recent changes engineering has made.

 ![CrashProgress](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/6/a/86aa201c323bf108e6e3461661fa7c9c18bfafa1.png)

My game was previously crashing after 10-20 minutes, this time I managed to play for a full hour or so before the server itself faced this issue.

---

<div class="post-metadata">

**Author:** ![SGSensei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SGSensei](https://forums.unrealengine.com/u/SGSensei)\
**Post date:** [November 16, 2025, 7:15pm UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/19 "2025-11-16T19:15:13Z")

</div>

The client crashes are back

---

<div class="post-metadata">

**Author:** ![SGSensei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SGSensei](https://forums.unrealengine.com/u/SGSensei)\
**Post date:** [November 17, 2025, 4:40pm UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/20 "2025-11-17T16:40:13Z")

</div>

> [@Classes never garbage collected?](https://forums.unrealengine.com/t/classes-never-garbage-collected/1720618/):
>
> Please select what you are reporting on: Verse What Type of Bug are you experiencing? Memory Summary Probably related to [Weak maps don't hold weak references??](https://forums.unrealengine.com/t/weak-maps-dont-hold-weak-references/1720472) Garbage collector seem to (never?) collect unused classes Go to the !!! ISSUE !!! line in code Steps to Reproduce using { /Fortnite.com/Devices } using { /Verse.org/Simulation } some\_class := class: MemoryIntensiveArrays : [][]float test\_garbage\_collector := class(creative\_device): OnBegin\<override\>()\<suspends\>:void= …

> [@SceneGraph Memory Leak causes Fortnite to crash](https://forums.unrealengine.com/t/scenegraph-memory-leak-causes-fortnite-to-crash/2565996/18):
>
> [https://forums.unrealengine.com/t/classes-never-garbage-collected/1720618/](https://forums.unrealengine.com/t/classes-never-garbage-collected/1720618/)[https://forums.unrealengine.com/t/scene-graph-client-crashes-after-10-minutes-of-consistently-spawning-and-despawning-entities/2671752/](https://forums.unrealengine.com/t/scene-graph-client-crashes-after-10-minutes-of-consistently-spawning-and-despawning-entities/2671752/)[https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831)

---

<div class="post-metadata">

**Author:** ![Phantom\_Fruity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Phantom\_Fruity](https://forums.unrealengine.com/u/Phantom_Fruity)\
**Post date:** [April 9, 2026, 8:28pm UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/25 "2026-04-09T20:28:14Z")

</div>

Is this bug fixed? Does your procedural system work now?

---

<div class="post-metadata">

**Author:** ![RiYAN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/riyan/32/1062903_2.png) [@RiYAN](https://forums.unrealengine.com/u/RiYAN)\
**Post date:** [April 11, 2026, 4:22pm UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/26 "2026-04-11T16:22:18Z")

</div>

Still broken. Epic, please fix.

---

<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:** [May 4, 2026, 3:04am UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/28 "2026-05-04T03:04:45Z")

</div>

This topic was automatically closed after 180 days. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [May 20, 2026, 11:00am UTC](https://forums.unrealengine.com/t/severe-performance-degradation-when-adding-removing-prefab-entities-after-uefn-v38-0-update/2671831/30 "2026-05-20T11:00:43Z")

</div>

FORT-1008932 is ‘Closed’ as ‘Fixed’. The issue will be addressed in 41.00.
