Description

Performance will drop in PIE if simulate physics is toggled rapidly on an actor with attached components

User Description:

Simulating physics for Primitive components causes severe performance drop if simulation is paused, object is moved (using set location) and simulation is restarted. The performance drop accumulates each time the simulation is resumed.

Steps to Reproduce:

Spawn an actor with primitive component as root (typically a static mesh).

Weld attach a few other primitive components to the root primitive component

Setup logic so that a key press toggles simulate physics option for the root component

Now enable simulation then stop it , start it and then again stop it, very soon there is a huge performance drop that increases with each time simulate physics is enabled

Steps to Reproduce

1. Open the attached project
2. PIE
3. Hold down the 'F' key and watch the FPS
4. Once you see the FPS drop into the double digits, toggle 'F' so physics stays simulated

Results: The more the physics is toggled, the more the FPS will drop (This does not happen in a Standalone Game)

Expected: To maintain the projects average FPS no matter how many times physics is toggled

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Won't Fix
ComponentUE - Gameplay
Affects Versions4.9.24.104.11
CreatedNov 3, 2015
ResolvedJan 27, 2017
UpdatedApr 27, 2018