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"

Deleting folder almost freezes program

I was trying to delete InfinityBladeEffects folder from the engine. First I shut down the engine from Task Manager cause I thought it froze. But on the second try I left it to go for several minutes, and only then became responsive again, and started slowly deleting assets one by one.
alt text

What causes this huge unresponsiveness for a long time, and why is deleting files so slow? (even if it's a big folder)

(Not sure if it should be in the Bug Reports topic or where)

Product Version: UE 4.14
Tags:
0.png (6.3 kB)
more ▼

asked Jan 07 '17 at 01:26 PM in Bug Reports

avatar image

CrimsonHawk
529 25 25 43

avatar image CrimsonHawk Jan 07 '17 at 01:35 PM

*The slow one by one was only to process before "Are you sure..." question. The actual removal process was at quite acceptable rate, but with jumping font height.

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

2 answers: sort voted first

Hey CrimsonHawk,

I believe that the reason your editor is hanging when you're attempting to delete that folder is definitely due to the size of the folder and the files contained within. I'd recommend deleting the folder from Windows Explorer using your project directory in order to avoid the in-editor hang. This goes for all large folder removal.

Let me know if you have further questions regarding this.

Have a great day

more ▼

answered Jan 10 '17 at 07:03 PM

avatar image

Sean L ♦♦ STAFF
43.5k 485 152 443

avatar image Xerdi1296 Nov 07 '17 at 02:09 PM

Hello. I had the same problem. I wanted to delete one folder from kite demo folder in ue4 browser content. It froze the editor. After that i deleted the folder outside the editor through the windows explorer. After I did that, I tried to package my game for windows ant my pc froze because of missing files. Is there any solution for this problem?

avatar image Sean L ♦♦ STAFF Nov 08 '17 at 08:21 PM

If you have references to those files still existing in the project, it could cause some issues, I recommend making sure you've removed all references to the assets that you've deleted.

Also, I recommend checking your logs to see if there are any errors coming up while your packaging.

avatar image Xerdi1296 Nov 08 '17 at 10:15 PM

Ok. Tkanks for help. How do I check for references to the deleted assets in UE4 editor?

avatar image Vaheva Nov 08 '17 at 11:15 PM

Select file or files on content browser, right mouse / reference viewer.

When you starting with UE, you will import a lot of assets just for test. Don't do it in game project, serious work project. For test import to clean project, check what you really need for your game project, and migrate only what you really want. Maybe firstly reduce texture sizes for example. Instead You will never clean up mess in game files and it will load forever. Just from my experience.

avatar image unit23 Apr 16 '18 at 07:11 PM

However, even deleting single textures/meshes/materials etc cause the editor to freeze and become unresponsive for about 10-15 minutes if your project has a large file size. Additional, after deletion finished the auto-save features kicks in, adding another minute where you cannot work.

This is a long standing issue, which is really impacting workflow since especially with large projects you aim to get rid of overhead, but cleanup process is so slow that you think twice before trying to delete stuff.

Also, deleting closes all open windows https://answers.unrealengine.com/questions/232708/deleting-an-asset-closes-all-open-windows.html

avatar image Sean L ♦♦ STAFF Apr 28 '18 at 03:01 PM

Hey unit23,

If you're still having issues with this, please submit a report using our new bug submission form and we will follow up with you: https://epicsupport.force.com/unrealstudio/s/

Thanks,

Sean

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

I think the official answer should be rephrased to:

The reason why deletion is so slow in UE4 is that it loads all the assets you are deleting to check for their dependencies across your entire project.
You usually want to rely on that if you are unsure how the content of the folder was used across the project.
But sometimes as it's your case you know for sure. Then the fastest way is to close the editor and delete the folder manually from your OS.

more ▼

answered Jun 15 '19 at 05:33 PM

avatar image

MeMass
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