Unreal Editor (5.1) stuck on Discovering Assets

Hi all,

I have seen similar issues with UE Discovering assets, but I am experiencing it only when I have my startup py script enabled. The py script is responsible for rendering automation and starts many processes like material mapping and render queue manipulation. Every time I set it as startup script my Editor freezes after it starts (specifically ‘Discovering Asset Data’ or ‘Discovering assets’).

This issue is nonexistent with Engine version (5.0.3), only when I updated engine to 5.1 it started happening.

Scripts work fine, as when I import and use them after Editor loads (without startup script enabled) they do things as they are supposed to without any issues. So not sure if it is causing this or if there is a different issue with this whole thing.

Also I have noticed UnrealEditor.exe not responding in Task Manager, and it’s CPU usage is 0% after the freeze point constantly.

If someone has any idea why would this be happening or if there is a way to find out that would be amazing.

Thanks in advance :smiley:

While this is a somewhat older topic, I had an issue like this recnetly, The same project for me worked on different Computers, and Other project on the same Computer where i had the issue worked just fine , Deleting DDC did not helped, rebuiliding did not help, Deleteing the Saved folder, did helped but only till I wanted to restart the project, What fixed it for me is to reinstall the engine fully