4.5.1 Root Capsule size breaks AI / Displays incorrectly

Hi.

4.5.1
Win 7 64Bit
Formatted and reinstalled system. No 3rd party software running except UE4.

The Root Capsule Capsule component displays incorrectly if you change the Capsule Half Height and or Capsule radius.

Sometimes in the components view it will not display correctly. Other times when you reset the values it will display correctly in the capsule component view, but in the viewport and ingame it is still showing the old.

The other thing discovered which I assume is directly related is that once you have changed the root capsule half height or radius, then characters no longer navigate. They remain in place and refuse to move.

To replicate the issue.

Create a new character blueprint. Add simple move to location.
Open character BP and change the capsule half height. Now compile and save. Keep changing it, smaller or higher and save.

You will reach a point where the size is no longer being updated correctly. Moving the slider value does nothing.
Now try to play or simulate the game.

You should now notice once the above has appeared that the AI no longer responds.

On the top and left is the character that had its capsule component changed in half height and radius. AI refuses to move for this character and getting the capsule to default state is not possible. As you can see the values are default. The displayed component is smaller, and in the viewport its bigger.

On the right is a brand new character using the same mesh with unchanged capsule values. This AI works.

Preferably I want to be able to change the size of a capsule so that a character can be enveloped by it. Something that I believe was working in previous versions.

Thank you

Hi Crocopede,

Thanks for the feedback. This is a known issue that our developers are currently looking into. It is JIRA UE-3661 in our tracking software.

Here is the way that I fixed the issue in my test project.

  • I set the capsule to the dimensions I wanted.

  • Saved, then closed & reopened the editor

  • Deleted & replaced the AI in the level.

After that the capsule and AI were back to normal.

Cheers,

TJ

Currently capsules cannot be wider than they are tall. This is a limitation of the engine. However, our devs are looking into adding additional functionality in this area.

Excellent. Thank you Mr TJ. Will give that a shot.

Thanks for the quick work around. it worked for me, Thanks!