Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    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.

Bug Failed to copy "Library/Bee/artifacts/..." to "Library/ScriptAssemblies/..." with cp

Discussion in 'Unity Hub' started by D4rkMn, Sep 9, 2023.

  1. D4rkMn

    D4rkMn

    Joined:
    Sep 4, 2021
    Posts:
    1
    I just installed unity hub on my ubuntu 22.04 following this guide and installed unity editor 2022.3.9f1. after creating a test project to see it working it recommended me to open it in safe mode because it had compile errors, but i chose to ignore it as the project was just being created. after that the console threw 100 errors all stating something like what the title says, for example:

    "Library/ScriptAssemblies/Unity.Mathematics.Editor.pdb: Failed to copy "Library/Bee/artifacts/2400b0aE.dag/post-processed/Unity.Mathematics.Editor.pdb" to "Library/ScriptAssemblies/Unity.Mathematics.Editor.pdb" with cp"

    i have no idea whats going on and couldnt find anything regarding this anywhere. can anybody help me? also idk if this is important to add, but i installed unity hub and editor on a second disk as my main disk is an ssd for performance and my second disk is hdd for storage. my only idea would be that it for some reason doesnt have full access to the disk and thus the copies cant be made or something like that but dont take my word for it, just adding it because it might be important but idk
     

    Attached Files:

  2. gozebone_unity

    gozebone_unity

    Joined:
    Mar 7, 2023
    Posts:
    1
    Same on fedora-38 and unity 2021.3.39f1, happened after installing openssl1.1-devel, before installing it, error was No useable version of libssl
     
  3. MrTroyD

    MrTroyD

    Joined:
    Mar 5, 2015
    Posts:
    7
    @D4rkMn If you create a project on your primary drive does that error still happen? For the past 3 months or so, I've been experiencing the same problem. My work around has been to work primarily on my main drive and move everything over when I'm done. I've been trying to find a solution for this since September and I'm hoping you've found a better solution since posting this.
     
    alfish likes this.
  4. stackh34p

    stackh34p

    Joined:
    Sep 2, 2016
    Posts:
    12
    Hello, using Unity 2022.3.30f1 on Linux, and I encountered this problem out of a sudden after working with no issues for months. This is really a showstopper. Since I've been working with no issues for the past few months, I thought there was something I recently changed that could have influenced the problem. And indeed, the day before I upgraded my Linux kernel, which I confirmed was the culprit. I changed my OS boot configuration to load the previous kernel and the problem was gone.

    Below is some more info for the curious, and hopefully, it could shed more light on the matter as I have no idea what exactly was the cause:

    My machine is a PC with dual boot - Linux Mint Debian Edition (Faye) and Windows 11. My Unity project resides on an NTFS drive, so I can work on it from both OS-es. The drive resides on the main NVMe SSD disk and is permanently mounted to the Linux OS trough fstab (if that matters).

    My working setup: LMDE using Kernel version 6.1.0-21-amd64 (as evident from the command `uname -r`)
    The broken setup: LMDE using Kernel version 6.7.12+bpo-amd64, which I installed from the backports (it is not officially enabled for the current LMDE distribution yet). While I did not experience any issues with the OS, this triggered the problem of this thread. I only am wild guess-ing, but I would blame the NTFS support of the new Kernel, or something related to disk firmware that is changed in the newer kernel, because I have the exact same LMDE setup with this newer kernel on a laptop (the new kernel is really needed there because hardware is new and lacks firmware support in older versions), and the laptop works perfectly with Unity. The only difference from my PC setup, is that the laptop is a single OS machine, so no NTFS drives. Of course, hardware is different too.

    I hope this to be of use to someone hitting the problem again. I'd be curious to know what exactly caused this dreaded problem on a far newer Unity version and relatively modern hardware (my PC is about 2 and half years old at the time of writing, the laptop is quite new around the start of 2024).