Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Sharinf violation on path

Discussion in 'Editor & General Support' started by PunisherXA, May 19, 2022.

  1. PunisherXA

    PunisherXA

    Joined:
    Jan 29, 2016
    Posts:
    11
    Hi everyone,

    I'm having a serious issue: 3 of 4 times I tried to build or reloaded the project, I get:

    (0,0): error System.IO.IOException: Sharing violation on path [...]\Temp\[...].dll


    This is on multiple .dll files, I need to say that I've tried everything:
    • Run Malwarebytes
    • Uninstall antivirus
    • Clone the project again
    • Change the project to another disk
    • Remove packages
    Nothing worked for me and I'm losing too much time trying to make it work, any help would me much appreciate it!
     
  2. Kazko

    Kazko

    Joined:
    Apr 2, 2014
    Posts:
    82
    Hi, also getting this but only in 2020 Editor versions ... have you found a cause or fix?
    I have tried using LockHunter, imediatelly after the error I poke the file, however it says nothing is locking it ...