Search Unity

Question Infinity Error "Copying Assembly failed, xxxx.dll does not exist"

Discussion in 'Editor & General Support' started by catcat52009, Dec 8, 2021.

  1. catcat52009

    catcat52009

    Joined:
    Mar 18, 2018
    Posts:
    9
    error message:

    Copying assembly from 'Temp/UnityEngine.TestRunner.dll' to 'Library/ScriptAssemblies/UnityEngine.TestRunner.dll' failed.
    Detailed error: Library/ScriptAssemblies/UnityEngine.TestRunner.dll does not exist

    i open the Temp folder of my project and the .dll which the message said is just there

    i was trying on this error about a month
    googled and still stuck on this

    for the CSharp.dll
    i can reimport any C# script to resolve it

    so i tried it on other .dll error
    sometimes it will change to another .dll
    e.g.: TestRunner.dll > UI.dll

    the other way i googled is copy the .dll manually
    they said the file will inside the folder which located at
    Unity\Editor\Data\UnityExtensions\Unity\GUISystem\Editor
    but i didnt saw any UnityExtensions folder in my computer
    i ended up with
    Unity\2020.3.24f1\Editor\Data\Resources\PackageManager\ProjectTemplates\libcache\com.unity.template.universal-10.7.0\ScriptAssemblies
    then i copied the .dll to my project, nothing happened
    if i re-open/reimport the project, the Library/ScriptAssemblies folder will be blank

    some said the anti-malware software may block the accessment of the files
    i had set the Unity folder to whitelist of my IObit

    i tried to use other editor version
    i just re-install Unity and nothing change

    even a blank new project will error too
    i have no idea how to fix it