Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Sharing Violation

Discussion in 'Package Manager' started by Pathojen, Feb 17, 2019.

  1. Pathojen

    Pathojen

    Joined:
    Feb 4, 2019
    Posts:
    3
    Hello.

    I've been trying to upload a set of models which I created and designed, and then this pops up for some reason. I take the term violation seriously, but I don't understand what violation was done. Any advice?
     

    Attached Files:

  2. alexzzzz

    alexzzzz

    Joined:
    Nov 20, 2010
    Posts:
    1,408
    System.IO.File.Delete threw IOExceptions. According to the docs, it does so if "the specified file is in use". So, Unity was trying to delete some temporary files while they were still open for reading and/or writing by Unity itself or some other program.
     
    mathieur likes this.
  3. Pathojen

    Pathojen

    Joined:
    Feb 4, 2019
    Posts:
    3
    Thanks for responding.

    I am new here. I tried deleting the content from the modelling software that I had, and I still get the error message.How do I fix this?
     
  4. mathieur

    mathieur

    Unity Technologies

    Joined:
    Jul 22, 2015
    Posts:
    29
    Hello! For an error like this, if it reproduces, I suggest using the Help->Report a Bug... menu and provide us with as much information as possible so that we can investigate the root cause.

    Regarding the term "sharing violation", it has to do with the file system and nothing related to Unity's term violation, so you don't need to be overly worried in this case.