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

Bug Can't delete anything in assets directory?

Discussion in 'Linux' started by CyRaid, Jan 8, 2018.

  1. CyRaid

    CyRaid

    Joined:
    Mar 31, 2015
    Posts:
    134
    Hi there, I can't seem to delete anything in the asset directory within the editor. Says it can't unload, and just keeps it there.. But I can go open up Nautilus (File Manager), and delete the files/folders with their .meta and it'll update in the Editor just fine. :)
     
    correia55 likes this.
  2. PJayB

    PJayB

    Unity Technologies

    Joined:
    Apr 24, 2017
    Posts:
    105
    Can you post the actual error verbatim? Also, just a hunch, but could you check the case of the Assets path? (e.g. "Assets" not "assets"). Or are there any non-ANSI characters in your project path?
     
  3. theang

    theang

    Joined:
    Dec 23, 2017
    Posts:
    1
    Hi, I can confirm this
    assets path has no problematic characters (named Assets)
    I have created a strace of all file activity, and I don't see Unity trying to unlink files
    Also I see Assert Error

    I'm using Ubuntu 17.10

    upload_2018-1-14_1-21-43.png

    Process looks like this: I'm deleting problematic asset, and it reappears again

    I'm attaching strace (with -e trace=file option) however, it might be not very usefull

    problematic asset path in my case: Assets/Audio/bug.mat.meta
     

    Attached Files:

  4. correia55

    correia55

    Joined:
    Feb 22, 2014
    Posts:
    7
    I have the same issue, using Ubuntu 18.04.1 LTS and Unity 2018.2.0f2.