Access denied when killing unity in taskmanager

Hi everyone,

i’m using Unity 2018.2.7 and created an SteamVR application. Currently we have a weird problem. Sometimes Unity hangs and it’s impossible to kill the project in every way. When we want to reboot the system, Unity causes reboot to hang, because it doesn’t want to close.

What we tried is:

  • Killing project by using taskmanager.
  • Removing the UnityLockFile from /Temp directory is impossible too. Same access denied window.
  • Killing previous made Pids, to see what is the cause. Nothing changed.
  • Reboot hangs

This is a weird problem for me. What I was thinking that there’s some kernel related stuff going on that disallows terminating Unity.

Solved it by connecting the debug tool of visual studio inside taskmanager. I found out that it was hanging when using nvwg2umx.dll which is related to Nvidia. Downgraded the Nvidia driver. Problem solved.