# 4.18 performance ( Char Movement )

**URL:** <https://forums.unrealengine.com/t/4-18-performance-char-movement/410008>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** stats, profiling, UE4-18, charactermovementcom, unreal-engine, Performance, question\
**Created:** [November 19, 2017, 9:12am UTC](https://forums.unrealengine.com/t/4-18-performance-char-movement/410008 "2017-11-19T09:12:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frozenfire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Frozenfire](https://forums.unrealengine.com/u/Frozenfire)\
**Post date:** [November 19, 2017, 9:12am UTC](https://forums.unrealengine.com/t/4-18-performance-char-movement/410008/1 "2017-11-19T09:12:50Z")

</div>

I just recently upgraded from 4.17 to 4.18 and was hit with a huge performance impact with no code changes.

 ![220708-performance.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/4/6f4c3b31a85efa46bc3d968620786f9ba18880db.jpeg)

As you can see , it has same call count. same number of charcters in the map. I narrowed down the cause to the CharMovementComponent.

Is there any reason this is happening? Any clues?

---

<div class="post-metadata">

**Author:** ![Frozenfire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Frozenfire](https://forums.unrealengine.com/u/Frozenfire)\
**Post date:** [November 19, 2017, 10:03am UTC](https://forums.unrealengine.com/t/4-18-performance-char-movement/410008/2 "2017-11-19T10:03:31Z")

</div>

I have done some profiling , where i did the same thing , but not automated.

with this I have found the culprit to be ComputeFloorDistance

 ![220710-duration.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/6/9e6bc124049f9e0ddd2cedec7265982b65abda48.jpeg)

Any clues why this could be happening?  
If anyone is interested to help I have 2 profile ( 4.17 and 4.18 ) for you to compare.

---

<div class="post-metadata">

**Author:** ![Frozenfire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Frozenfire](https://forums.unrealengine.com/u/Frozenfire)\
**Post date:** [November 30, 2017, 1:28am UTC](https://forums.unrealengine.com/t/4-18-performance-char-movement/410008/3 "2017-11-30T01:28:05Z")

</div>

bumping this thread up. It’s saddening i’m unable to migrate to 4.18 because of this issue. I have dug further but unable to find a reason for this, even removed my custom char movement component to no avail.

If this continues I might be permanently stuck on 4.17.

---

<div class="post-metadata">

**Author:** ![lpx90](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lpx90](https://forums.unrealengine.com/u/lpx90)\
**Post date:** [December 28, 2017, 11:15am UTC](https://forums.unrealengine.com/t/4-18-performance-char-movement/410008/4 "2017-12-28T11:15:07Z")

</div>

Hi, did you ever find a solution for this?

---

<div class="post-metadata">

**Author:** ![Frozenfire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Frozenfire](https://forums.unrealengine.com/u/Frozenfire)\
**Post date:** [December 28, 2017, 1:27pm UTC](https://forums.unrealengine.com/t/4-18-performance-char-movement/410008/5 "2017-12-28T13:27:54Z")

</div>

you had the same issue? i haven’t found any solution. asked a few places , no solution.  
There’s too much code changes in 4.17 to 4.18 for me to track where is the exact problem.

---

<div class="post-metadata">

**Author:** ![lpx90](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lpx90](https://forums.unrealengine.com/u/lpx90)\
**Post date:** [January 5, 2018, 10:10am UTC](https://forums.unrealengine.com/t/4-18-performance-char-movement/410008/6 "2018-01-05T10:10:12Z")

</div>

I’ve done a bit more testing and submitted a bug report here which you may want to follow

> **[Major performance hit upgrading to 4.18 - BSP heavy maps](https://forums.unrealengine.com/questions/743221/major-performance-hit-upgrading-to-418-bsp-heavy-m.html)**
>
> Hi, We currently use a lot (hundreds to thousands) of BSP geometry during map development for blocking out walls/floors. There have been no performance issues from this in previous versions of the engine (up to 4.17.2). Since upgrading from 4.17.2...

---

<div class="post-metadata">

**Author:** ![Austinlele](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Austinlele](https://forums.unrealengine.com/u/Austinlele)\
**Post date:** [June 3, 2018, 1:34am UTC](https://forums.unrealengine.com/t/4-18-performance-char-movement/410008/7 "2018-06-03T01:34:52Z")

</div>

I’m also running into this issue. “Compute Floor Distance” is taking up a lot of time for my few AI characters on Android…

---

<div class="post-metadata">

**Author:** ![lpx90](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lpx90](https://forums.unrealengine.com/u/lpx90)\
**Post date:** [June 3, 2018, 1:37am UTC](https://forums.unrealengine.com/t/4-18-performance-char-movement/410008/8 "2018-06-03T01:37:05Z")

</div>

Hi there, this has been fixed in 4.19

---

<div class="post-metadata">

**Author:** ![Austinlele](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Austinlele](https://forums.unrealengine.com/u/Austinlele)\
**Post date:** [June 3, 2018, 1:41am UTC](https://forums.unrealengine.com/t/4-18-performance-char-movement/410008/9 "2018-06-03T01:41:17Z")

</div>

I’m running 4.19.2… So I will submit a new question and see if I am experiencing normal numbers for the character move component for an AI skeletal mesh. I’m seeing on average ~2.5ms for each ai’s movement component calc. The "CharFindFloor calc is taking on average .800ms per actor, seems to really degrade game thread performance. Here is the link to my new question if curious: [https://answers.unrealengine.com/questions/796363/android-4192-character-movement-performance.html](https://answers.unrealengine.com/questions/796363/android-4192-character-movement-performance.html)  
Thanks.
