Search Unity

IOException: Sharing violation on path with UnityEngine.~~~.dll

Discussion in 'Editor & General Support' started by YMPP, Sep 16, 2019.

  1. YMPP

    YMPP

    Joined:
    Aug 10, 2012
    Posts:
    6
    Hi. I'm suffering with build error.

    This is my error log.

    IOException: Sharing violation on path {Project Path}\Temp\StagingArea\Data\Managed\*.dll
    System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at -----

    Managed/*.dll file is change everytime when I build project.
    I can't understand why this problem is happen, and I wundering solve this.

    Build error isn't happen always.
    Sometimes, project builded succeed...

    Is this something problem with package?

    Thanks.
     
  2. monark

    monark

    Joined:
    May 2, 2008
    Posts:
    1,598
    Did you ever solve this I have the same issue with Managed/tempStrip/UnityEngine.dll.mdb
     
  3. monark

    monark

    Joined:
    May 2, 2008
    Posts:
    1,598
  4. SpinTheDaddy

    SpinTheDaddy

    Joined:
    Aug 9, 2016
    Posts:
    29
    If anyone's having this issue, restarting unity fixed it for me.