Deleting big folders or assets crashes engine

Hey. I’m on 4.6 and tried this with different projects and different folders. But whenever i try to delete a big folder, or some asset in editor with force delete, engine crashes.(for example mixamo asset pack) I sent error report about that.

Hi ,

Do you get an errors before it is deleted about objects being referenced? Additionally can you please upload your callstack and crashlogs here? The logs can be found at \Unreal Projects\PROJECTNAME\saved\logs\

Yes, but only one of them is referenced. Best example about mixamo animation package. I imported tried some of them and decided to delete whole folder and it crashes every time i try. Only one controller blueprint is referenced.

After that crash i tried to delete other files in other project (they’re referenced too), and editor crashed again. Here is my log files in dropbox folder. Thanks.

Ok, In a blank project with starter content, try deleting the shapes folder from the starter content and see if that crashes the editor. I believe what is occurring is your references are attempting to reference null objects then returning missing or broken information. If this does not crash the editor, try removing all references to objects in a folder from your game before deleting and see if that causes the same crash.

That didn’t crash my editor. So instead of “force delete”, i should remove references first. Is this a bug or common problem? Because for my logic, force delete should delete everything with references and after that i can fill those missing references.

Hi ,

While I am not 100% certain, I believe this is expected behavior. Once our developers get back from the holiday I’ll be able to provide you with a much more concise answer.

Hi ,

It turns out that it is known that force delete can cause crashes, however it is not intended functionality. Can you tell me what specific repro steps you are taking that cause the crash. Is it just “import mixamo, then delete mixamo” or have you made any other steps between these? Unfortunately this seems to be a difficult crash to nail down so any repro steps you can provide may help us to figure out exactly what is occurring.

Hello ,

The only repro i can give is the mixamo package, i imported the package, used some of those characters for my controller and deleted them, but one of them was still being used as character. I see this crash on another project i work on, in that folder i had some blueprints used by other ones and behaviour tree. I can try mixamo repro again if you need my crash report.

if it wouldn’t take too much time that would be greatly appreciated. I’ll be happy to add them to the bug report.

Hi ,

We have not heard from you in quite some time. I am marking this as accepted for tracking purposes. If you are still experiencing this error, please comment back with the requested information. Thank you.