Debugging Editor freezes and hangs [Windows Only]

Can you share a dump file like some of the posters above did when the editor gets into that state?

I will do so next time it happens. I have submitted a ticket for it as well.

It’s hanging on loading Package Manager → My Assets for nearly 2 hours. It crashed out a couple of times doing this too. This time it just kept running. The progress bar stops moving, but the timer keeps clicking up. It wasn’t doing this yesterday; was working fine outside of some Unity VCS weirdness. Below is the thread stack trace.

If you need a dump, or something else I have the logs saved too. I re-tested while writing this up and it happened again. Any initial thoughts are appreciated.

EDIT
Just re-tested again with entirely separate project on newer preview version 6000 it and did the same thing. Something else is hosed. Will do a complete tear down and rebuild of the installs and see if that resolves it.

Error

From Process Explorer

Error Re-Test #02

From Process Explorer #02

That is bizarre. Any idea what that vlflt.sys driver is? It seems Unity is trying to open some file and this driver intercepts it and hangs/deadlocks. It must not be a default windows driver as it is not present on my machine.

1 Like

It’s a BitDefender driver. Unity is already whitelisted so shouldn’t be happening. Another thread suggested it may be an interaction with a feature. I’m going to finalize my reinstalls and adjusting this feature and see if that progresses it.

Thanks for pointing that out! I’m a bit new to debugging stack traces.

https://community.bitdefender.com/en/discussion/96653/microsoft-direct-storage-vlflt-blocking-access

1 Like

On the TeamCity CI server, we are running a Unity process in batch mode that invokes our custom Editor method. At one stage, where Prefabs are being created, the Editor hangs and remains idle. It seems the issue started occurring when we moved all our code, previously in *.cs and *.dll files, into packages. The Process Monitor shows continuous operations like: QueryOpen, CreateFile.

We are using Unity version 2020.3.48f1.

Has anyone encountered a similar issue or could offer some guidance on how to resolve this problem? @Unity_Javier ?
Any help would be greatly appreciated!


@mzylak that’s good you have Process Monitor. If you double click one of the entries, you can get a window and then there’s a tab that says “Stack”. Would you be able to copy/paste the stacks you see? That way we can try to narrow down what system is reading that DLL over and over again.

The problem reoccurred today when opening the project. In the attachments, I am sending the Process Explorer and Process Monitor along with the stack.
UnityImporting