Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

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.