CharacterMovementComponent low performance?
link textIn my projectm I've faced with unexpected performance downgrade when I have about 100 characters on the scene.
Profiler shows me it goes from the CharacterMovementComponent which is used for each of the characters.
I've made a test scene in a blank project with static mesh cubes and it shows the same downgrade when 100-200 characters are moving (MoveToActor). FPS drop from 120fps when not moving to 30-40fps when they are all moving.
Is it expected performance issue because of too much characters or it's a bug and simple movement should not downgrade the performance so much?
Attaching the test project (made in UE4.20.3)
the character movement can be a expensive process so performance loss is expected with that many characters. you may need to create a custom movement solution for your particular case that runs a bit lighter and has less features. you could probably create the needed features using a pawn instead of a character then use the simple move to nodes and only have what you need so it performs better.
answered Nov 09 '18 at 10:42 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here