Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UE4] Generation of huge infinite number of File in DerivedDataCache #1041

Closed
AndreaDev237 opened this issue Nov 25, 2017 · 3 comments
Closed
Assignees

Comments

@AndreaDev237
Copy link

AndreaDev237 commented Nov 25, 2017

Hello,
I notice a problem with SpineSkeletonRender Component
When an actor has SpineSkeleton Render + SpineSkeletonAnimation component with Atlas and data set the engine generate infinite files called "PHYSX_[alphanumeric string]PHYSXPC_[more text].udd" inside the Folder DerivedDataCache of engine.

I notice that because on my SSD of 1TB the folder contains 27 milions of this file and a total size of 600gb

Another similar Problem is reported here on AnswerHub related to unreal procedural mesh component: https://answers.unrealengine.com/questions/669057/proceduralmeshcomponent-creating-files-to-derivedd.html
After read this i see your plugin use RuntimeMeshComponent similar to unreal mesh procedural component.

This issue can potentialy harm SSD(major) / HDD life for the number of Write on disks.

I found the only possible fix for now is to unset SpineSkeletonAnimation Data and Atlas and set at begin play on the game, in this way the Engine not generate any files during play test.
Change params / settings on SpineSkeletonRender component not fix the problem.

i made some Screenshot to
image
image

Screenshot made after 20-30 second each other.
i hope you can find and fix this problem because is silent and i notice that after 4 months of use.

PS: i'm still analyze problem and code, if i will find something useful i report here immediately.
Thanks again!

@badlogic badlogic self-assigned this Nov 25, 2017
@badlogic
Copy link
Collaborator

Thanks for reporting. That is an extremely nasty issue. I'll try to figure out what writes all these files. Given the file names, it appears that the physics integration is at fault.

@badlogic
Copy link
Collaborator

@badlogic
Copy link
Collaborator

badlogic commented Jun 7, 2018

I've unsuccesfully tried to come up with a solution to this. Sadly, there is none. It seems the collision mesh API of UE4 simply can't be bend to not generate those derrived files. I've now disabled collision mesh generation in the SpineSkeletonRendererComponent.

The better solution to this issue is to create a collision shape yourself and attach it to the default scene root.

@badlogic badlogic closed this as completed Jun 7, 2018
@NathanSweet NathanSweet removed the bug label Jun 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants