Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

get blank errors in new project

Discussion in 'Editor & General Support' started by wolilio, Mar 10, 2020.

  1. wolilio

    wolilio

    Joined:
    Aug 19, 2019
    Posts:
    28
    i create a new 3d project ,open it, 2 blank errors show. then i open Editor.log ,find some logs


    -----CompilerOutput:-stdout--exitcode: -2147450740--compilationhadfailure: True--outfile: Temp/Assembly-CSharp.dll
    -----CompilerOutput:-stderr----------
    Error:
    An assembly specified in the application dependencies manifest (csc.deps.json) was not found:
    package: 'runtime.win-x64.Microsoft.NETCore.App', version: '2.0.7'
    path: 'runtimes/win-x64/native/api-ms-win-core-console-l1-1-0.dll'

    -----EndCompilerOutput---------------
    - Finished script compilation in 0.236142 seconds



    please help

    my unity version is 2019.3.2f1.

    error:
     
  2. wolilio

    wolilio

    Joined:
    Aug 19, 2019
    Posts:
    28
    finally,i get it right.
    the reason is somehow unity can't access all the api-ms-*-l1-1-0.dll files in system (normaly in C:\Windows\System32),so i copy all these dll file to unity's Editor\Data\Tools\Roslyn folder
     
    DyN41k likes this.
  3. YH_Learner

    YH_Learner

    Joined:
    Sep 15, 2020
    Posts:
    1
    You Save My Day,THX
     
  4. Lancaster_Gaming-ind

    Lancaster_Gaming-ind

    Joined:
    Jul 24, 2020
    Posts:
    2
    I don't understand what he means. I need help with that too!
     
  5. zedz

    zedz

    Joined:
    Aug 31, 2013
    Posts:
    229
    No Idea but I assume you have to search for the "api-ms-*-l1-1-0.dll" file on your PC, prolly in windows/system32 (use the exact name, it will say in your error message) if not search online
    copy that file into
    (YourUnityFolder where you installed it)\Editor\Data\Tools\Roslyn