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"

Spline Mesh Component maxes out disk usage

The Problem

have encountered a situation when using the spline mesh component that results in the computers disk usage getting maxed out to 100%.

Specifically, the situation happens when you have a spline mesh WITH collision enabled, and you update the splines positions and tangents EVERY tick/frame.

I realize that updating a spline mesh with collision enabled every frame may be less than ideal towards performance. However, the fact that this situation completely maxes disk usage has me wondering if this is simply a limitation of the engine, or if this is an actual bug.

Steps to Reproduce

his can easily be reproduced within the Content Examples project available from the Epic Games Launcher's Learn tab.

  1. Open the Content Examples project.

  2. Open level (Ctrl+O): Blueprint_Splines.

  3. Navigate to the display with the fish (2.4 Spline mesh for pawn animation).

  4. Select and open the fish (BP_Spline_Pawn) blueprint.

  5. Under the list of components, select the "Spline mesh body" component that is utilizing the S_Fish_Body static mesh.

  6. Within the details panel, scroll down to the collision settings, and change the collision profile to "Block All."

  7. Compile and Play the level.

  8. Navigate to the fish and begin controlling it.

As long as the blueprint logic that updates the fish spline mesh is executing every frame, you should notice the hit to performance. If you open up your computers Task Manager, you should see that the disk usage maxes out.

Hopefully someone could let me know if this is simply a situation that I should avoid, or if it's a bug that can potentially be fixed.

Product Version: UE 4.16
more ▼

asked Jun 26 '17 at 11:20 PM in Bug Reports

avatar image

11 1 2 4

avatar image TJ V ♦♦ STAFF Jun 29 '17 at 07:38 PM

Hi RO10,

I'm going to need some additional info:

  • Your Dxdiag saved as a text file.

  • Some screenshots of your Task Manager while this is happening?

  • How many spline points are you updating on tick to get this behavior?

  • If it's more than a basic setup, please post a test project that showcases the issue.

avatar image RO10 Jun 29 '17 at 09:48 PM

Sure thing. I've attached my dxdiag

Here is a "before and after" of the task manager. Where the "before" is playing with the collision profile on the spline mesh component set to "No Collision." And the "after" is playing with the collision profile set to "Block All."


No Collision


Collision set to Block All

Since it's a spline mesh component, there is only the two spline points (Start and End). In my personal project where I first encountered this situation, I was updating only the start spline point position and tangent. In this content examples project with the fish, it looks like the start tangent, the end tangent, and the end position, are all being updated every tick. Updating the Spline Mesh Component

It is a very basic setup. You just need to update the start or end spline point of a Spline Mesh Component every tick, with collision enabled. The Content Examples project provided from the learn tab in the Epic Games Launcher already has everything you need to showcase the issue. You just need to follow my "steps to reproduce" in the original post.

avatar image TJ V ♦♦ STAFF Jul 06 '17 at 08:15 PM

We did some more testing on a Win10 machine, but I'm still unable to get any performance change. Could you provide a test project that we can test internally?

avatar image RO10 Jul 07 '17 at 12:16 AM

Here is a google drive link to the test project I just made. SplineCollisionTest

I made a blueprint that moves the spline end position up and down. Left Click with the mouse to toggle between collision and no collision. When collision is enabled, disk usage should start to max out in a couple of seconds.

I have also gone ahead and installed UE4 on an older laptop of mine, and im also getting the same results there. Just in case it helps, here is the Dxdiag for my laptop. Like I said it's a bit older, and I don't use UE4 on it, so it may not be of much use.

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

2 answers: sort voted first

Hi RO10,

Sorry for the delay.

After looking at your system specs, that seems to be the issue. You are using an integrated graphics card which reserves some of your 8 GB of RAM for other things. Here is what we recommend:

  • Desktop PC with Windows 7 64-bit or a Mac with Mac OS X 10.9.2 or later

  • 8 GB RAM

  • Quad-core Intel or AMD processor

  • DX11 compatible video card

Anytime you are doing something like setting a location on tick, it can be pretty taxing on your system. We tested your project on our PC's but the max disk usage was 14%.


more ▼

answered Jul 17 '17 at 02:55 PM

avatar image

41k 1009 183 494

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

I know this question is old, but I wanted to check it out. I followed reproduction steps and enabled collision: collision setup Then I saved, compiled, run game and started controlling fish: game performance As you can see, disk usage stays at 0%. I didn't notice any lag or low framerate, however iGPU is maxed out (this is expected, no matter if collision enabled).

Note: I am using latest UE4 version: 4.22.1

fish-collision.png (153.5 kB)
bp-splines.png (1.1 MB)
more ▼

answered Apr 30 '19 at 01:47 PM

avatar image

1 1

(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