x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

4.18 performance ( Char Movement )

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

alt text

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?

Product Version: Not Selected
Tags:
performance.jpg (274.9 kB)
more ▼

asked Nov 19 '17 at 09:12 AM in Using UE4

avatar image

Frozenfire
657 59 84 117

avatar image Frozenfire Nov 19 '17 at 10:03 AM

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

with this I have found the culprit to be ComputeFloorDistancealt text 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.

duration.jpg (145.7 kB)
avatar image Frozenfire Nov 30 '17 at 01:28 AM

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.

avatar image Austinlele Jun 03 '18 at 01:34 AM

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

avatar image lpx90 Jun 03 '18 at 01:37 AM

Hi there, this has been fixed in 4.19

avatar image Austinlele Jun 03 '18 at 01:41 AM

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 Thanks.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi, did you ever find a solution for this?

more ▼

answered Dec 28 '17 at 11:15 AM

avatar image

lpx90
16 2 5

avatar image Frozenfire Dec 28 '17 at 01:27 PM

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.

avatar image lpx90 Jan 05 '18 at 10:10 AM

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

https://answers.unrealengine.com/questions/743221/major-performance-hit-upgrading-to-418-bsp-heavy-m.html

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question