Vscode Library\ScriptAssemblies\Unity.RenderPipelines.Universal.Config.Runtime.dll: Copying the file failed

Hello, I have a problem. I’m new to Unity and trying to migrate a game I had developed in TypeScript.

I find myself needing my IDE’s debugger to test different paradigms and some issues.

The problem is that it’s impossible to attach a debugger to Unity, and I keep getting an error message.

Library\ScriptAssemblies\Unity.RenderPipelines.Universal.Config.Runtime.dll: Copying the file failed: Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.
Library\ScriptAssemblies\Unity.RenderPipelines.Core.Runtime.dll: Copying the file failed: Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.
Library\ScriptAssemblies\Unity.2D.Common.Runtime.dll: Copying the file failed: Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.

If i search why and who use those dll , it seem to be DecompilerServer.exe

did you have any advice ?
i try :

  • restart pc and unity
  • regenerate .csproj files…
    Nothing allow me to connect vscode debbuger !?
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Attach to Unity",
            "type": "vstuc",
            "request": "attach"
        }
     ]
}

thanks for help

ok solved ! it MCP decompiler that persists in vscode after decompile

taskkill /IM DecompilerServer.exe /F
1 Like

Google tells me it might be from Claude code… are you running that in the background?

What if you just sigterm all of those DecompilerServices instances?

yes it was my mcp file in vscode !!! it my fault , it used to decompile dll when no doc is avaible

{
  "mcpServers": {

    "decompiler": {
      "type": "stdio",
      "command": "C:/Tools/DecompilerServer/decompilerserver-v1.3.3-win-x64/DecompilerServer.exe",
      "args": [],
      "env": {}
    },
    "lsde": {
      "command": "npx",
      "args": ["-y", "@lsde/mcp-server@latest"],
      "env": {
        "LSDE_MCP_PORT": "9225"
      }
    }
  }
}
1 Like